From 6cfe6a6dc9f33947c0a626c5e003a8ee891d7bcb Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 6 Sep 2010 21:01:45 -0400 Subject: [PATCH] It helps to use the right service request name. Also remove extra logging. --- web_frontend/actor.js | 1 - web_frontend/file.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/web_frontend/actor.js b/web_frontend/actor.js index 029f2ac..3d32d93 100644 --- a/web_frontend/actor.js +++ b/web_frontend/actor.js @@ -171,5 +171,4 @@ armadillo.Actor.prototype.tileClickHandler_ = function(e) { confirm.setVisible(true); } - console.log('You clicked ' + e.target.actorOption); }; diff --git a/web_frontend/file.js b/web_frontend/file.js index 2e5ed71..be0a7a7 100644 --- a/web_frontend/file.js +++ b/web_frontend/file.js @@ -23,7 +23,6 @@ armadillo.File = function(name, path) { goog.Disposable.call(this); this.name_ = name; this.path_ = path; - console.log('creating file ' + path + name); this.isDirectory_ = app.isDirectory(name); }; goog.inherits(armadillo.File, goog.Disposable); @@ -101,7 +100,7 @@ armadillo.File.prototype.delete = function() { } app.list(file.path_); }; - app.sendRequest('delete', {'path':this.path_ + this.name_}, callback); + app.sendRequest('remove', {'path':this.path_ + this.name_}, callback); }; /** -- 2.22.5