Changeset 5472 in subversion


Ignore:
Timestamp:
Nov 23, 2011 12:55:43 PM (18 months ago)
Author:
alec
Message:
  • Improvements for filters popup window
Location:
trunk/plugins/managesieve
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/managesieve/managesieve.js

    r5469 r5472  
    722722    // load form in the iframe 
    723723    var frame = $('<iframe>').attr({src: url, frameborder: 0}) 
    724     frame.height(dialog.height()); // temp.  
    725     dialog.empty().append(frame); 
    726     dialog.dialog('dialog').resize(); 
     724    dialog.empty().append(frame).dialog('dialog').resize(); 
    727725 
    728726    // Change [Next Step] button with [Save] button 
    729727    buttons = {}; 
    730     buttons[rcmail.gettext('save')] = function() {   
     728    buttons[rcmail.gettext('save')] = function() { 
    731729      var win = $('iframe', dialog).get(0).contentWindow; 
    732730      win.rcmail.managesieve_save(); 
     
    744742    buttons: buttons, 
    745743    minWidth: 600, 
    746     minHeight: 300 
     744    minHeight: 300, 
     745    height: 250 
    747746  }).show(); 
    748747 
  • trunk/plugins/managesieve/skins/default/managesieve.css

    r5441 r5472  
    111111{ 
    112112  min-width: 550px; 
     113  width: expression(Math.max(550, document.documentElement.clientWidth)+'px'); 
    113114  white-space: nowrap; 
    114115  padding: 20px 10px 10px 10px; 
     
    146147{ 
    147148  padding: 0px; 
    148   width: 100%; 
    149   min-width: 620px; 
     149  min-width: 600px; 
     150  width: expression(Math.max(600, document.documentElement.clientWidth)+'px'); 
    150151} 
    151152 
     
    190191  white-space: nowrap; 
    191192  width: 1%; 
     193  padding-top: 2px; 
    192194} 
    193195 
     
    197199  width: 98%; 
    198200  padding-left: 3px; 
     201  padding-top: 2px; 
    199202} 
    200203 
Note: See TracChangeset for help on using the changeset viewer.