Fix incorrect filter data after filter delete (#1490356)

Fix missing position idicator in Larry skin when dragging a filter
pull/274/head
Aleksander Machniak 10 years ago
parent 5b737d9f8d
commit 224a1b19cb

@ -1,4 +1,6 @@
- Add option to define default vacation interval - Add option to define default vacation interval
- Fix missing position idicator in Larry skin when dragging a filter
- Fix incorrect filter data after filter delete (#1490356)
* version 8.3 [2015-03-12] * version 8.3 [2015-03-12]
----------------------------------------------------------- -----------------------------------------------------------

@ -226,7 +226,6 @@ rcube_webmail.prototype.managesieve_updatelist = function(action, o)
this.set_busy(true); this.set_busy(true);
switch (action) { switch (action) {
// Delete filter row // Delete filter row
case 'del': case 'del':
var id = o.id, list = this.filters_list; var id = o.id, list = this.filters_list;
@ -250,8 +249,10 @@ rcube_webmail.prototype.managesieve_updatelist = function(action, o)
$(this).unbind(); $(this).unbind();
// update row id // update row id
if (rowid > id) if (rowid > id) {
$(this).attr('id', 'rcmrow' + (rowid-1)); this.uid = rowid - 1;
$(this).attr('id', 'rcmrow' + this.uid);
}
}); });
list.init(); list.init();

@ -67,13 +67,13 @@
#filterslist tbody tr.filtermoveup td #filterslist tbody tr.filtermoveup td
{ {
border-top: 2px dotted #555; border-top: 2px dotted #555 !important;
padding-top: 5px; padding-top: 5px;
} }
#filterslist tbody tr.filtermovedown td #filterslist tbody tr.filtermovedown td
{ {
border-bottom: 2px dotted #555; border-bottom: 2px dotted #555 !important;
padding-bottom: 4px; padding-bottom: 4px;
} }

Loading…
Cancel
Save