diff --git a/phpgwapi/templates/idots2/css/idots2.css b/phpgwapi/templates/idots2/css/idots2.css index a6b173bad2..4c10c44c30 100755 --- a/phpgwapi/templates/idots2/css/idots2.css +++ b/phpgwapi/templates/idots2/css/idots2.css @@ -158,6 +158,7 @@ a.appTitles,.appTitles + #divAppboxHeader { /*width:100%;*/ diff --git a/phpgwapi/templates/idots2/js/x-desktop/events.js b/phpgwapi/templates/idots2/js/x-desktop/events.js index 839b039196..a6e7ec1ee3 100755 --- a/phpgwapi/templates/idots2/js/x-desktop/events.js +++ b/phpgwapi/templates/idots2/js/x-desktop/events.js @@ -153,7 +153,7 @@ function saveSize(idotsName) { w = xDT.prop(idotsName, 'wWidth'); h = xDT.prop(idotsName, 'wHeight'); - url = strXmlUrl + "/write_size.php?title=" + title + "&w=" + w + "&h=" + h; + url = strXmlUrl + "/write_settings.php?action=write_size&title=" + title + "&w=" + w + "&h=" + h; var found = false; for(i = 0; i < aTitle.length; i++) { diff --git a/phpgwapi/templates/idots2/js/x-desktop/shortcuts.js b/phpgwapi/templates/idots2/js/x-desktop/shortcuts.js index e4c8d5062e..ed6f479a24 100755 --- a/phpgwapi/templates/idots2/js/x-desktop/shortcuts.js +++ b/phpgwapi/templates/idots2/js/x-desktop/shortcuts.js @@ -307,7 +307,7 @@ function mouseUp(id,e) y2 = findPosY(mObj); x2 = findPosX(mObj); mObj.onmousemove = ""; - strXmlUrl2 = strXmlUrl + "write_shortcut_setting.php?id=" + id + "&top=" + y2 + "&left=" + x2; + strXmlUrl2 = strXmlUrl + "/write_settings.php?action=shortcut_sets&id=" + id + "&top=" + y2 + "&left=" + x2; createPos(mObj, x2,y2); if (window.XMLHttpRequest) { diff --git a/phpgwapi/templates/idots2/js/x-desktop/x-desktop_core.js b/phpgwapi/templates/idots2/js/x-desktop/x-desktop_core.js index 633dfab49a..0bfbaea2d4 100755 --- a/phpgwapi/templates/idots2/js/x-desktop/x-desktop_core.js +++ b/phpgwapi/templates/idots2/js/x-desktop/x-desktop_core.js @@ -225,8 +225,10 @@ function xDesktop(respath,sdt,maxwin,_fmain) { // resourcepath, wHeight = ChooseSize(wHeight); (wWidth > 0 && wWidth <= 10000) ? wWidth = wWidth : wWidth = 300; (wHeight > 0 && wHeight <= 10000) ? wHeight = wHeight : wHeight = 200; - _property(wName,"wWidth",wWidth); // default window width - _property(wName,"wHeight",wHeight); // default window height +// _property(wName,"wWidth",wWidth); //fixme this must be set in preferences // default window width +// _property(wName,"wHeight",wHeight); //fixme this must be set in preferences // default window height + _property(wName,"wWidth",300); //fixme this must be set in preferences // default window width + _property(wName,"wHeight",200); //fixme this must be set in preferences // default window height _property(wName,"wWidthOrg",_property(wName,"wWidth")); // save Org width Value _property(wName,"wHeightOrg",_property(wName,"wHeight")); // save Org height Values _cbe(wName).resizeTo(wWidth,wHeight); @@ -238,8 +240,9 @@ function xDesktop(respath,sdt,maxwin,_fmain) { // resourcepath, _property(wName,"zIndex",p_zIndex); _setSkin(wName,wSkin); _cbe(wName).zIndex(p_zIndex); - _taskbar(); - return wName; + _taskbar(); + _resizeWindow(wName,wWidth,wHeight,wPos); // workaround + return wName; } function _resizeWindow(wName,wWidth,wHeight,wPos) { if (! xDTwin.window(wName)) return; diff --git a/phpgwapi/templates/idots2/navbar.inc.php b/phpgwapi/templates/idots2/navbar.inc.php index 780b2f3ee0..dc14124f06 100755 --- a/phpgwapi/templates/idots2/navbar.inc.php +++ b/phpgwapi/templates/idots2/navbar.inc.php @@ -323,7 +323,7 @@ else { - //this checks if the rootwindow exist + //this is the url to goto when rootwindow not exist $var['rooturl'] = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/index.php?cd=yes'; //set some shortcut vars diff --git a/phpgwapi/templates/idots2/navbar.tpl b/phpgwapi/templates/idots2/navbar.tpl index 0e93b814d7..2c47472dc8 100755 --- a/phpgwapi/templates/idots2/navbar.tpl +++ b/phpgwapi/templates/idots2/navbar.tpl @@ -30,7 +30,6 @@ function start() { idotsW = "xD" + new Date().getUTCMilliseconds(); if(default_app != "") { openX(default_title, default_app); - } } @@ -41,7 +40,7 @@ function start() { -
+
New notification @@ -51,7 +50,7 @@ function start() { -
+
New notification @@ -185,7 +184,7 @@ sidebox_open();