antville/code/RootLayoutMgr/objectFunctions.js
Robert Gaggl 8b3a87cb66 - moved evalImport() and evalImport() to layoutmgr
- changed setDefaultLayout since the active layout is now a property of root
2003-12-08 21:50:50 +00:00

10 lines
230 B
JavaScript

/**
* Set the layout with the alias passed as argument
* to the default root layout
*/
function setDefaultLayout(alias) {
var l = root.layouts.get(alias);
if (root.sys_layout != l)
root.sys_layout = l;
return;
}