[Svn] r5472 - in trunk/plugins/managesieve: . skins/default

trac at roundcube.net trac at roundcube.net
Wed Nov 23 18:55:43 CET 2011


Author: alec
Date: 2011-11-23 11:55:43 -0600 (Wed, 23 Nov 2011)
New Revision: 5472

Modified:
   trunk/plugins/managesieve/managesieve.js
   trunk/plugins/managesieve/skins/default/managesieve.css
Log:
- Improvements for filters popup window


Modified: trunk/plugins/managesieve/managesieve.js
===================================================================
--- trunk/plugins/managesieve/managesieve.js	2011-11-23 17:40:28 UTC (rev 5471)
+++ trunk/plugins/managesieve/managesieve.js	2011-11-23 17:55:43 UTC (rev 5472)
@@ -721,13 +721,11 @@
 
     // load form in the iframe
     var frame = $('<iframe>').attr({src: url, frameborder: 0})
-    frame.height(dialog.height()); // temp. 
-    dialog.empty().append(frame);
-    dialog.dialog('dialog').resize();
+    dialog.empty().append(frame).dialog('dialog').resize();
 
     // Change [Next Step] button with [Save] button
     buttons = {};
-    buttons[rcmail.gettext('save')] = function() {  
+    buttons[rcmail.gettext('save')] = function() {
       var win = $('iframe', dialog).get(0).contentWindow;
       win.rcmail.managesieve_save();
     };
@@ -743,7 +741,8 @@
     close: function() { rcmail.managesieve_dialog_close(); },
     buttons: buttons,
     minWidth: 600,
-    minHeight: 300
+    minHeight: 300,
+    height: 250
   }).show();
 
   this.env.managesieve_dialog = dialog;

Modified: trunk/plugins/managesieve/skins/default/managesieve.css
===================================================================
--- trunk/plugins/managesieve/skins/default/managesieve.css	2011-11-23 17:40:28 UTC (rev 5471)
+++ trunk/plugins/managesieve/skins/default/managesieve.css	2011-11-23 17:55:43 UTC (rev 5472)
@@ -110,6 +110,7 @@
 #filter-form
 {
   min-width: 550px;
+  width: expression(Math.max(550, document.documentElement.clientWidth)+'px');
   white-space: nowrap;
   padding: 20px 10px 10px 10px;
 }
@@ -145,8 +146,8 @@
 div.rulerow table, div.actionrow table
 {
   padding: 0px;
-  width: 100%;
-  min-width: 620px;
+  min-width: 600px;
+  width: expression(Math.max(600, document.documentElement.clientWidth)+'px');
 }
 
 td
@@ -189,6 +190,7 @@
 {
   white-space: nowrap;
   width: 1%;
+  padding-top: 2px;
 }
 
 td.rowtargets
@@ -196,6 +198,7 @@
   white-space: nowrap;
   width: 98%;
   padding-left: 3px;
+  padding-top: 2px;
 }
 
 td.rowtargets div.adv

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list