Commit 3fc0bd82 authored by Rene AJM Veerman's avatar Rene AJM Veerman

bugfix

parent 94725953
......@@ -87,7 +87,7 @@ $relPath = $appParams['apps']['media']['user'].'/'.join ($paths, '/');
}, function () {
jQuery('#siteContent').html('<iframe id="saMediaAlbum" src="<?php echo $saFrameworkFolder?>/lib/jQuery-File-Upload-9.21.0-SA/sa_iframe_noUploading.php?path=<?php echo $relPath?>" style="width:100%;height:100%;"></iframe>');
setTimeout(function() {
sa.vcc.settings['#siteContent__scrollpane'].containsIframe = true;
sa.vcc.settings['siteContent__scrollpane'].containsIframe = true;
sa.sp.containerSizeChanged (jQuery('#siteContent')[0], true);
}, 500);
......
......@@ -3020,7 +3020,7 @@ sa.s.c = sa.site.code = {
jQuery.ajax (ajaxCommand);
},
loadContent : function (url, dontHijackLinksInThis) {
delete sa.vcc.settings['#siteContent__scrollpane'].containsIframe;
if (sa.vcc.settings['siteContent__scrollpane']) delete sa.vcc.settings['siteContent__scrollpane'].containsIframe;
/*
var
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment