From 5c93ddbeb875618e35ef8007a5f2bde4ee810035 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 17 Nov 2010 08:55:52 -0500 Subject: [PATCH] Remove the RENAME action as MOVE does the same thing. --- web_frontend/actor.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web_frontend/actor.js b/web_frontend/actor.js index bccdbe6..4a83c97 100644 --- a/web_frontend/actor.js +++ b/web_frontend/actor.js @@ -65,7 +65,6 @@ goog.inherits(armadillo.Actor, goog.ui.Container); armadillo.Actor.options_ = { OPEN : 'open', MOVE : 'move', - RENAME : 'rename', DELETE : 'delete', TV_RENAME : 'tv-rename' }; @@ -76,7 +75,6 @@ armadillo.Actor.options_ = { armadillo.Actor.optionStrings_ = { 'open' : 'Open', 'move' : 'Move', - 'rename' : 'Rename', 'delete' : 'Delete', 'tv-rename' : 'Rename TV Episode' }; @@ -166,8 +164,7 @@ armadillo.Actor.prototype.tileClickHandler_ = function(e) { if (option == armadillo.Actor.options_.OPEN) { // TODO: assert that this.file_.isDirectory(). app.navigate(this.file_.getName()); - } else if (option == armadillo.Actor.options_.MOVE || - option == armadillo.Actor.options_.RENAME) { + } else if (option == armadillo.Actor.options_.MOVE) { this.performMove_(); } else if (option == armadillo.Actor.options_.DELETE) { this.performDelete_(); -- 2.22.5