表格问题
This commit is contained in:
parent
c31d4dc3bd
commit
a1323e3d76
|
@ -3787,17 +3787,18 @@ _extend(KEdit, KWidget, {
|
|||
} else {
|
||||
val = body.innerHTML;
|
||||
}
|
||||
// if (self.beforeGetHtml) {
|
||||
// val = self.beforeGetHtml(val);
|
||||
// }
|
||||
//yk
|
||||
if (self.beforeGetHtml) {
|
||||
val = self.beforeGetHtml(val);
|
||||
}
|
||||
if (_GECKO && val == '<br />') {
|
||||
val = '';
|
||||
}
|
||||
return val;
|
||||
}
|
||||
// if (self.beforeSetHtml) {
|
||||
// val = self.beforeSetHtml(val);
|
||||
// }
|
||||
if (self.beforeSetHtml) {
|
||||
val = self.beforeSetHtml(val);
|
||||
}
|
||||
if (_IE && _V >= 9) {
|
||||
val = val.replace(/(<.*?checked=")checked(".*>)/ig, '$1$2');
|
||||
}
|
||||
|
|
|
@ -362,6 +362,7 @@ function df(myself) {
|
|||
var sstr = "";
|
||||
$(img).each(function (i) {
|
||||
var that = $(this);
|
||||
if(that.attr("src")) {
|
||||
if (that.attr("src").indexOf("http://") >= 0 || that.attr("src").indexOf("https://") >= 0) {
|
||||
piccount++;
|
||||
if (i == $(img).length - 1)
|
||||
|
@ -369,6 +370,7 @@ function df(myself) {
|
|||
else
|
||||
sstr += that.attr("src") + "|";
|
||||
}
|
||||
}
|
||||
});
|
||||
uploadpic(sstr,myself);
|
||||
}
|
||||
|
@ -409,13 +411,19 @@ function uploadpic(piclist,myself) {
|
|||
var tIndex = 0;
|
||||
$(img).each(function (i) {
|
||||
var that = $(this);
|
||||
if(that.attr("src")){
|
||||
if (that.attr("src").indexOf("http://") >= 0 || that.attr("src").indexOf("https://") >= 0) {
|
||||
that.attr("src", str[tIndex]);
|
||||
that.attr("data-ke-src", str[tIndex]);
|
||||
|
||||
//非视频
|
||||
if(!(that.parent().attr("class") && that.parent().attr("class") == "mediaIcobox" )) {
|
||||
that.parent().attr("href", str[tIndex]);
|
||||
that.parent().attr("data-ke-src", str[tIndex]);
|
||||
}
|
||||
tIndex = tIndex + 1;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
// $("#ajax-indicator span").text("载入中...");
|
||||
|
|
Loading…
Reference in New Issue