From 96a6a7ee1a8c3a59c3e577086534d9f5da07b5aa Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 10 Mar 2014 16:04:01 +0000 Subject: [PATCH] Adjust width for resized popup windows, since we are trying to use fix width for edit popups --- phpgwapi/js/jsapi/egw.js | 2 +- phpgwapi/templates/idots/css/traditional.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/phpgwapi/js/jsapi/egw.js b/phpgwapi/js/jsapi/egw.js index 52b3bd914a..72bffcbaf7 100644 --- a/phpgwapi/js/jsapi/egw.js +++ b/phpgwapi/js/jsapi/egw.js @@ -214,7 +214,7 @@ { // Resize popup when et2 load is done jQuery(node).one("load",function() { - window.resizeTo(jQuery(document).width()+20,jQuery(document).height()+70); + window.resizeTo(jQuery(document).width()+25,jQuery(document).height()+70); }); } var et2 = new etemplate2(node, currentapp+".etemplate_new.ajax_process_content.etemplate"); diff --git a/phpgwapi/templates/idots/css/traditional.css b/phpgwapi/templates/idots/css/traditional.css index 397b930668..e6f0aa998e 100755 --- a/phpgwapi/templates/idots/css/traditional.css +++ b/phpgwapi/templates/idots/css/traditional.css @@ -291,6 +291,7 @@ body { margin: 8px; border: solid 1px #7e7e7e; padding-bottom: 0px; + width:98%; } #divLogo