[Tickets #5507] Re: message focus

bugs at bugs.horde.org bugs at bugs.horde.org
Wed Jun 27 20:25:31 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5507
-----------------------------------------------------------------------
 Ticket             | 5507
 Updated By         | adrieder at sbox.tugraz.at
 Summary            | message focus
 Queue              | DIMP
 Type               | Enhancement
 State              | New
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


adrieder at sbox.tugraz.at (2007-06-27 13:25) wrote:

This is maybe a little bit better

--- dimp/js/src/DimpCore.js.ori Wed Jun 27 20:32:05 2007
+++ dimp/js/src/DimpCore.js     Wed Jun 27 22:12:25 2007
@@ -1438,10 +1438,11 @@
             return;
         }

+       var curr_row = this.viewport.getRowById(this.selected.first());
+       var move = (curr_row.rownum ==
this.viewport.getMetaData('total_rows')) ? -1 : 1;
         this.viewport.remove(r.response.uids, r.response.cacheid);
-        this.clearSelected();
-        this.toggleButtons();
-        this.clearPreviewPane();
+       this.clearPreviewPane();
+       this.moveSelected(move);
     },

     emptyFolderCallback: function(r) {



More information about the bugs mailing list