This is probably the wrong list but regardless...

Does anyone think an "Open mail in new window" button would be handy? A client of ours requested this feature which I implemented rather easily in app.js. This kind of goes against the general design of RoundCube though, and to be honest I couldn't understand their use case. Here is the function I wrote which simply hooks in like the rest of the buttons on the mail page. Suggestions appreciated, and feel free to use it (obviously)

  this.open_new_window = function(){
    var uid;
    if (uid = this.get_single_uid()) {
thisLoc = this.env.comm_path+'&_action=show&_uid='+uid+'&_mbox='+escape(this.env.mailbox);
      window.open (thisLoc,"messagePopup"+uid);
    }
  };


--
Colin Alston ~ http://www.karnaugh.za.net/

Expecting one person to deal with all your problems is like praying each time you require an ambulance: You'll eventually be dead long before you get a response.


Reply via email to