[horde] After delete message go to next message automatically

Oscar del Rio delrio at mie.utoronto.ca
Thu Mar 14 14:05:34 UTC 2013


On 03/14/13 09:02 AM, derwu wrote:
> It's possible? In mailbox after open one message (not in new window) and
> delete it, automatically open next message.

Use Shift+Delete keys, or disable the check for Shift key in dimpbase.js:
http://marc.info/?l=imp&m=130341762004337

--- imp/js/dimpbase.js.orig
+++ imp/js/dimpbase.js
@@ -2365,9 +2365,9 @@
          case Event.KEY_BACKSPACE:
              if (!this.viewport.getMetaData('nodelete')) {
                  r = sel.get('dataob');
-                if (e.shiftKey) {
+                // if (e.shiftKey) {
                      this.moveSelected((r.last().VP_rownum == 
this.viewport.getMetaData('total_rows')) ? (r.first().VP_rownum - 1) : 
(r.last().VP_rownum + 1), true);
-                }
+                // }
                  this.deleteMsg({ vs: sel });
              }
              e.stop();


IMP upgrades would overwrite the file, so you would need to redo the 
change after upgrades.



More information about the horde mailing list