By Ray, Fix structure page editing bug
This commit is contained in:
parent
f191029279
commit
5df8ff2e52
|
@ -132,7 +132,11 @@ function iFrameContent() {
|
||||||
$('#pageslide_iframe').load(function() {
|
$('#pageslide_iframe').load(function() {
|
||||||
var $iContents = $(this).contents(),
|
var $iContents = $(this).contents(),
|
||||||
$pc = $iContents.find('.page_content');
|
$pc = $iContents.find('.page_content');
|
||||||
$(this).get(0).contentWindow.externalFunction(iFrameFunction, $iContents, $pc);
|
try {
|
||||||
|
$(this).get(0).contentWindow.externalFunction(iFrameFunction, $iContents, $pc);
|
||||||
|
} catch(err) {
|
||||||
|
console.log(err);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
function pageSetting(id, edit) {
|
function pageSetting(id, edit) {
|
||||||
|
|
Reference in New Issue