restricting search properly for select all/none.
This commit is contained in:
parent
ad531f9512
commit
de225c589f
1 changed files with 9 additions and 7 deletions
|
@ -91,8 +91,9 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
selectedLogItems = {};
|
selectedLogItems = {};
|
||||||
}
|
}
|
||||||
|
|
||||||
function selectCurrentPage() {
|
function selectCurrentPage(e) {
|
||||||
var $inputs = $historyContentDiv.find(".his_checkbox").find("input"),
|
var $ctx = $(e.currentTarget).parents("div.dataTables_wrapper"),
|
||||||
|
$inputs = $ctx.find(".his_checkbox").find("input"),
|
||||||
$tr,
|
$tr,
|
||||||
$input;
|
$input;
|
||||||
|
|
||||||
|
@ -104,8 +105,9 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function deselectCurrentPage() {
|
function deselectCurrentPage(e) {
|
||||||
var $inputs = $historyContentDiv.find(".his_checkbox").find("input"),
|
var $ctx = $(e.currentTarget).parents("div.dataTables_wrapper"),
|
||||||
|
$inputs = $ctx.find(".his_checkbox").find("input"),
|
||||||
$tr,
|
$tr,
|
||||||
$input;
|
$input;
|
||||||
|
|
||||||
|
@ -430,7 +432,7 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
},
|
},
|
||||||
always: function() {
|
always: function() {
|
||||||
inShowsTab = false;
|
inShowsTab = false;
|
||||||
selectedLogItems = {};
|
emptySelectedLogItems();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -443,7 +445,7 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
},
|
},
|
||||||
always: function() {
|
always: function() {
|
||||||
inShowsTab = false;
|
inShowsTab = false;
|
||||||
selectedLogItems = {};
|
emptySelectedLogItems();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -457,7 +459,7 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
always: function() {
|
always: function() {
|
||||||
inShowsTab = true;
|
inShowsTab = true;
|
||||||
showSummaryList();
|
showSummaryList();
|
||||||
selectedLogItems = {};
|
emptySelectedLogItems();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue