){
preventDefault = true;//new file/folder prevent browser from responding
}
- if(
+ /*if(
!$("#new").hasClass("active")
&& $.inArray(keyCodes.r, keys) !== -1
&& ($.inArray(keyCodes.cmdFirefox, keys) !== -1
preventDefault = true;
}
});
- }
+ }*/
if(preventDefault){
event.preventDefault(); //Prevent web browser from responding
event.stopPropagation();
else if(!$("#new").hasClass("active") && $.inArray(keyCodes.del, keys) !== -1) {//delete file
del();
}
- else if(
+ /*else if(
!$("#new").hasClass("active")
&& $.inArray(keyCodes.r, keys) !== -1
&& ($.inArray(keyCodes.cmdFirefox, keys) !== -1
&& $.inArray(keyCodes.shift, keys) !== -1
){//rename file
rename();
- }
+ }*/
removeA(keys, event.keyCode);
});