Aleksander Machniak
2015-04-18 0f797eddd81762db824c3dd835914ada460b622b
plugins/managesieve/managesieve.js
@@ -226,7 +226,6 @@
  this.set_busy(true);
  switch (action) {
    // Delete filter row
    case 'del':
      var id = o.id, list = this.filters_list;
@@ -250,8 +249,10 @@
        $(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();