WebFileManager JS stuff

This commit is contained in:
Serghey Rodin 2015-07-16 02:23:55 +03:00
parent 998b500aca
commit a1ac9cfee8
3 changed files with 102 additions and 19 deletions

View file

@ -211,6 +211,22 @@
function turnOff(e) {
if (f.detect.ctrl(e)) {
/*
shortcut.add("Ctrl+a", function(evt){
if(jQuery('.ch-toggle:checked').length > 0) {
f.t.unHAll(p, o);
jQuery('.ch-toggle:checked').attr('checked', false);
} else {
f.t.hAll(p,o);
}
}, {
'type': 'keyup',
'propagate': false,
'disable_in_input': true,
'target': document
}
);
*/
if (e.keyCode == 65) { // ctrl + a
e.preventDefault();
//if(f.detect.alt(e)) {