summaryrefslogtreecommitdiffstats
path: root/apps/files/js/keyboardshortcuts.js
diff options
context:
space:
mode:
authorErik Sargent <esthepiking@gmail.com>2012-12-04 09:40:17 -0700
committerErik Sargent <esthepiking@gmail.com>2012-12-04 09:40:17 -0700
commit93208d0fe922c64dd2bacc8bf102dbf4be4562b7 (patch)
treeba990aca482d59f63ed708956ff7380c32c59fe6 /apps/files/js/keyboardshortcuts.js
parent47fa3a8fe02ed79a0fc1dc6b5673631fee847ae5 (diff)
downloadnextcloud-server-93208d0fe922c64dd2bacc8bf102dbf4be4562b7.tar.gz
nextcloud-server-93208d0fe922c64dd2bacc8bf102dbf4be4562b7.zip
Remove rename
Diffstat (limited to 'apps/files/js/keyboardshortcuts.js')
-rw-r--r--apps/files/js/keyboardshortcuts.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files/js/keyboardshortcuts.js b/apps/files/js/keyboardshortcuts.js
index 35a94eeacd2..69656b9364d 100644
--- a/apps/files/js/keyboardshortcuts.js
+++ b/apps/files/js/keyboardshortcuts.js
@@ -142,7 +142,7 @@ Files.bindKeyboardShortcuts = function (document, $) {
){
preventDefault = true;//new file/folder prevent browser from responding
}
- if(
+ /*if(
!$("#new").hasClass("active")
&& $.inArray(keyCodes.r, keys) !== -1
&& ($.inArray(keyCodes.cmdFirefox, keys) !== -1
@@ -158,7 +158,7 @@ Files.bindKeyboardShortcuts = function (document, $) {
preventDefault = true;
}
});
- }
+ }*/
if(preventDefault){
event.preventDefault(); //Prevent web browser from responding
event.stopPropagation();
@@ -201,7 +201,7 @@ Files.bindKeyboardShortcuts = function (document, $) {
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
@@ -213,7 +213,7 @@ Files.bindKeyboardShortcuts = function (document, $) {
&& $.inArray(keyCodes.shift, keys) !== -1
){//rename file
rename();
- }
+ }*/
removeA(keys, event.keyCode);
});