Fix selection bug
This commit is contained in:
parent
0ad51dae09
commit
5f4935481a
|
@ -322,8 +322,8 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
|
|
||||||
mod.selectAll = function($els) {
|
mod.selectAll = function($els) {
|
||||||
$els.each(function(i, el){
|
$els.each(function(i, el){
|
||||||
mod.highlightItem(el);
|
mod.highlightItem($(el));
|
||||||
mod.addToChosen(el);
|
mod.addToChosen($(el));
|
||||||
});
|
});
|
||||||
$previouslySelected = $els.last();
|
$previouslySelected = $els.last();
|
||||||
mod.checkToolBarIcons();
|
mod.checkToolBarIcons();
|
||||||
|
@ -331,8 +331,9 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
|
|
||||||
mod.deselectAll = function($els) {
|
mod.deselectAll = function($els) {
|
||||||
$els.each(function(i, el){
|
$els.each(function(i, el){
|
||||||
mod.unHighlightItem(el);
|
mod.unHighlightItem($(el));
|
||||||
mod.removeFromChosen(el);
|
mod.removeFromChosen($(el));
|
||||||
|
mod.uncheckItem($(el));
|
||||||
});
|
});
|
||||||
$previouslySelected = undefined;
|
$previouslySelected = undefined;
|
||||||
mod.checkToolBarIcons();
|
mod.checkToolBarIcons();
|
||||||
|
|
Loading…
Reference in New Issue