Browse Source

- Remove torrent from selection if it gets filtered and becomes hidden (Web UI)

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
f9a5afe446
  1. 9
      src/webui/scripts/dynamicTable.js

9
src/webui/scripts/dynamicTable.js

@ -372,6 +372,15 @@ var dynamicTable = new Class ({ @@ -372,6 +372,15 @@ var dynamicTable = new Class ({
}
}
};
} else {
// Row was hidden, check if it was selected
// and unselect it if it was
if(this.cur.contains(id)) {
// Remove from selection
this.cur.erase(id);
// Remove selected style
tr.removeClass('selected');
}
}
return true;
},

Loading…
Cancel
Save