Show "Loading..." rather than the wrong name of the directory in the path control
authorRobert Sesek <rsesek@bluestatic.org>
Wed, 28 Dec 2011 18:34:57 +0000 (13:34 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Wed, 28 Dec 2011 18:34:57 +0000 (13:34 -0500)
web_frontend/path_control.js

index e8792c1c15209bc85db311342c6b86e6bead9926..39235079d025e9f303e8fdfeb9097de7f7366b5c 100644 (file)
@@ -134,7 +134,7 @@ armadillo.PathControl.prototype.createComponentNode_ = function(path, name) {
   this.fetchMenuContents_(path, name, menu);
 
   var option = $.createDom('option');
-  option.text(name).attr('selected', 'selected');
+  option.text('Loading...').attr('selected', 'selected');
 
   menu.append(option);
   menu.change(this.componentChanged_.bind(this));