From be705ce1e6eb012f0f9e030b776e77ae3f1134e8 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 3 Oct 2010 11:50:21 -0400 Subject: [PATCH] Fix the move interface. --- web_frontend/actor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web_frontend/actor.js b/web_frontend/actor.js index c0f2a0a..174f392 100644 --- a/web_frontend/actor.js +++ b/web_frontend/actor.js @@ -174,7 +174,7 @@ armadillo.Actor.prototype.performMove_ = function() { 'Enter a new, absolute path for this file.')); var field = goog.dom.createElement('input'); field.type = 'text'; - goog.dom.setTextContent(field, this.file_.getParentPath()); + field.value = this.file_.getFullPath(); goog.dom.appendChild(container, field) // TODO: Suck less. goog.dom.appendChild(container, @@ -182,6 +182,7 @@ armadillo.Actor.prototype.performMove_ = function() { '(Please pardon this interface. Armadillo is a work-in-progress.)')); dialog.setVisible(true); + field.focus(); }; /** -- 2.43.5