CC-3742 : Library: could be confused by carrying over selected state betwee pages
This commit is contained in:
parent
c5f9288aab
commit
08d939d736
3 changed files with 31 additions and 18 deletions
|
@ -18,6 +18,22 @@ var AIRTIME = (function(AIRTIME) {
|
|||
return selected;
|
||||
};
|
||||
|
||||
mod.getChosenAudioFilesLength = function(){
|
||||
var files = Object.keys(chosenItems),
|
||||
i, length,
|
||||
count = 0,
|
||||
reAudio=/^au/ ;
|
||||
|
||||
for (i = 0, length = files.length; i < length; i++) {
|
||||
|
||||
if (files[i].search(reAudio) !== -1) {
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
return count;
|
||||
};
|
||||
|
||||
mod.createToolbarDropDown = function() {
|
||||
|
||||
$.contextMenu({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue