diff options
author | Aleksander Machniak <alec@alec.pl> | 2015-04-18 03:02:14 -0400 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2015-04-18 03:02:14 -0400 |
commit | 224a1b19cba933ca1495a756cc3f5f23db09e956 (patch) | |
tree | 7adaccfc6d45e1e4cd586f273eb2e4a7194ae415 /plugins/managesieve | |
parent | 5b737d9f8ddd185db1f316d2922dcbcc654706b6 (diff) |
Fix incorrect filter data after filter delete (#1490356)
Fix missing position idicator in Larry skin when dragging a filter
Diffstat (limited to 'plugins/managesieve')
-rw-r--r-- | plugins/managesieve/Changelog | 2 | ||||
-rw-r--r-- | plugins/managesieve/managesieve.js | 7 | ||||
-rw-r--r-- | plugins/managesieve/skins/larry/managesieve.css | 4 |
3 files changed, 8 insertions, 5 deletions
diff --git a/plugins/managesieve/Changelog b/plugins/managesieve/Changelog index dba0be2c1..628725c97 100644 --- a/plugins/managesieve/Changelog +++ b/plugins/managesieve/Changelog @@ -1,4 +1,6 @@ - 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] ----------------------------------------------------------- diff --git a/plugins/managesieve/managesieve.js b/plugins/managesieve/managesieve.js index 4d60833be..f0b5dc83e 100644 --- a/plugins/managesieve/managesieve.js +++ b/plugins/managesieve/managesieve.js @@ -226,7 +226,6 @@ rcube_webmail.prototype.managesieve_updatelist = function(action, o) this.set_busy(true); switch (action) { - // Delete filter row case 'del': var id = o.id, list = this.filters_list; @@ -250,8 +249,10 @@ rcube_webmail.prototype.managesieve_updatelist = function(action, o) $(this).unbind(); // update row id - if (rowid > id) - $(this).attr('id', 'rcmrow' + (rowid-1)); + if (rowid > id) { + this.uid = rowid - 1; + $(this).attr('id', 'rcmrow' + this.uid); + } }); list.init(); diff --git a/plugins/managesieve/skins/larry/managesieve.css b/plugins/managesieve/skins/larry/managesieve.css index 47e992c0a..aa502a07c 100644 --- a/plugins/managesieve/skins/larry/managesieve.css +++ b/plugins/managesieve/skins/larry/managesieve.css @@ -67,13 +67,13 @@ #filterslist tbody tr.filtermoveup td { - border-top: 2px dotted #555; + border-top: 2px dotted #555 !important; padding-top: 5px; } #filterslist tbody tr.filtermovedown td { - border-bottom: 2px dotted #555; + border-bottom: 2px dotted #555 !important; padding-bottom: 4px; } |