diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-11-22 09:21:36 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-11-22 09:21:36 +0100 |
commit | 78ef00f12def4d76cec708a5e436d83c75ee3c91 (patch) | |
tree | ffaef5ab453ffe20346154f79dfbd42c0c8a68a9 /plugins/managesieve/managesieve.js | |
parent | 3ab616c7425afed0e4462f89d3bde1723ac471e5 (diff) |
Fix a bug where deleted filter was not removed from the list
(because now list widget's 'rows' property is of type object not array)
Diffstat (limited to 'plugins/managesieve/managesieve.js')
-rw-r--r-- | plugins/managesieve/managesieve.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/managesieve/managesieve.js b/plugins/managesieve/managesieve.js index fa13b7125..22a50ba4d 100644 --- a/plugins/managesieve/managesieve.js +++ b/plugins/managesieve/managesieve.js @@ -161,7 +161,7 @@ rcube_webmail.prototype.managesieve_rowid = function(id) { var i, rows = this.filters_list.rows; - for (i=0; i<rows.length; i++) + for (i in rows) if (rows[i] != null && rows[i].uid == id) return i; }; |