Fixed small table widget ctrl-selection bug

This commit is contained in:
Albert Santoni 2015-09-18 16:11:49 -04:00
parent a6450353e5
commit 515d892f6e

View file

@ -257,7 +257,8 @@ var AIRTIME = (function(AIRTIME) {
console.log("clicked row not detected as already selected");
}
if (foundAtIdx >= 0 && self._selectedRows.length > 1) {
//If the clicked row is already selected, deselect it.
if (foundAtIdx >= 0 && self._selectedRows.length >= 1) {
self._selectedRows.splice(foundAtIdx, 1);
$nRow.removeClass('selected');
$nRow.find('input.airtime_table_checkbox').attr('checked', false);