Commit cf5e5cd7 authored by Rene AJM Veerman's avatar Rene AJM Veerman

bugfix

parent 232ad158
......@@ -61,12 +61,18 @@ seductiveapps.desktop = {
width : jQuery('#siteManager').width(),
height : jQuery('#siteManager').height()
});
jQuery('#jQueryFileUpload__scrollpane__container, #jQueryFileUpload__scrollpane, #jQueryFileUpload').css({
width : jQuery('#siteManager__uploader_tab').width(),
height : jQuery('#siteManager__uploader_tab').height()
jQuery('#siteManager__td__content, .siteManager__tab').css ({
width : jQuery('#siteManager').width() * 0.75,
height : jQuery('#siteManager').height()
});
sa.sp.containerSizeChanged (jQuery('#jQueryFileUpload__scrollpane')[0], true);
sa.sp.bindEvents(jQuery('#jQueryFileUpload__scrollpane')[0]);
setTimeout (function () {
jQuery('#jQueryFileUpload__scrollpane__container, #jQueryFileUpload__scrollpane, #jQueryFileUpload').css({
width : jQuery('#siteManager__uploader_tab').width(),
height : jQuery('#siteManager__uploader_tab').height()
});
sa.sp.containerSizeChanged (jQuery('#jQueryFileUpload__scrollpane')[0], true);
sa.sp.bindEvents(jQuery('#jQueryFileUpload__scrollpane')[0]);
}, 100);
},
done : function () {
sa.vcc.applyTheme ('siteManager');
......@@ -74,16 +80,13 @@ seductiveapps.desktop = {
width : jQuery('#siteManager__td__treeview').width(),
height : jQuery('#siteManager__td__treeview').height()
});
var x1 = jQuery('.preview', jQuery('#jQueryFileUpload')[0].contentWindow.document.body).css ('display');
if (typeof x1 =='string' && x1 !== '' && x1 !== 'none') var x = x1;
if (typeof x == 'string' && x !== '') jQuery('.preview', jQuery('#jQueryFileUpload')[0].contentWindow.document.body).css ({display:'none'});
jQuery('#siteManager > table').css({
width : jQuery('#siteManager').width(),
height : jQuery('#siteManager').height()
});
jQuery('#siteManager__td__content, .siteManager__tab').css ({
width : jQuery('#siteManager').width() * 0.75,
height : '100%'
height : jQuery('#siteManager').height()
});
setTimeout (function () {
jQuery('#jQueryFileUpload__scrollpane__container, #jQueryFileUpload__scrollpane, #jQueryFileUpload').css({
......@@ -91,7 +94,6 @@ seductiveapps.desktop = {
height : jQuery('#siteManager__uploader_tab').height()
});
sa.sp.containerSizeChanged (jQuery('#jQueryFileUpload__scrollpane')[0], true);
if (typeof x == 'string' && x !== '') jQuery('.preview', jQuery('#jQueryFileUpload')[0].contentWindow.document.body).css ({display:x});
sa.sp.bindEvents(jQuery('#jQueryFileUpload__scrollpane')[0]);
}, 100);
}
......
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