mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 13:03:12 +01:00
13 lines
413 B
JavaScript
13 lines
413 B
JavaScript
function dragSidebar()
|
|
{
|
|
if(!dd.obj.sideresizeStart) { dd.obj.sideresizeStart = dd.obj.x; }
|
|
var mainbox = dd.elements.thesideboxcolumn;
|
|
mainbox.resizeTo(dd.obj.x-dd.obj.sideresizeStart+parseInt(dd.obj.my_sideboxwidth), mainbox.h);
|
|
}
|
|
|
|
function dropSidebar()
|
|
{
|
|
var mainbox = dd.elements.thesideboxcolumn;
|
|
xajax_doXMLHTTP("preferences.ajaxpreferences.storeEGWPref",egw_appName,"idotssideboxwidth",mainbox.w);
|
|
}
|