Browse Source

Fix in last commit

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
e16ca862f4
  1. 36
      src/webui/scripts/client.js

36
src/webui/scripts/client.js

@ -184,24 +184,6 @@ window.addEvent('load', function(){
column: 'filtersColumn', column: 'filtersColumn',
height: 300 height: 300
}); });
var prop_h = Cookie.read('properties_height');
if($defined(prop_h))
prop_h = prop_h.toInt();
else
prop_h = 200;
new MochaUI.Panel({
id: 'properties',
title: 'Panel',
header: true,
padding: { top: 0, right: 0, bottom: 0, left: 0 },
contentURL: 'prop-general.html',
require: {
css: ['css/Tabs.css']
},
tabsURL: 'properties.html',
column: 'mainColumn',
height: prop_h
});
initializeWindows(); initializeWindows();
var r=0; var r=0;
var waiting=false; var waiting=false;
@ -318,6 +300,24 @@ window.addEvent('load', function(){
onResize: saveColumnSizes, onResize: saveColumnSizes,
height: null height: null
}); });
var prop_h = Cookie.read('properties_height');
if($defined(prop_h))
prop_h = prop_h.toInt();
else
prop_h = 200;
new MochaUI.Panel({
id: 'properties',
title: 'Panel',
header: true,
padding: { top: 0, right: 0, bottom: 0, left: 0 },
contentURL: 'prop-general.html',
require: {
css: ['css/Tabs.css']
},
tabsURL: 'properties.html',
column: 'mainColumn',
height: prop_h
});
//ajaxfn(); //ajaxfn();
if(BrowserDetect.browser != "Safari") { if(BrowserDetect.browser != "Safari") {
// Safari has trouble with this // Safari has trouble with this

Loading…
Cancel
Save