From d0783b25c6f671bac067ab1d87de313fec289b11 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 30 Jan 2011 16:41:13 -0500 Subject: [PATCH] Disable mouse events on the PathControl --- web_frontend/path_control.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web_frontend/path_control.js b/web_frontend/path_control.js index 45cbbb8..8d705b2 100644 --- a/web_frontend/path_control.js +++ b/web_frontend/path_control.js @@ -27,6 +27,7 @@ goog.require('goog.ui.MenuItem'); armadillo.PathControl = function(path, editLastComponent, opt_domHelper) { goog.ui.Control.call(this, opt_domHelper); + this.setHandleMouseEvents(false); this.setSupportedState(goog.ui.Component.State.FOCUSED, false); /** @@ -239,6 +240,7 @@ armadillo.PathControl.prototype.componentChanged_ = function(e) { * @param {Event} e */ armadillo.PathControl.prototype.nameChanged_ = function(e) { + console.log(e); // TODO: assert(this.editableLastComponent_) this.name_ = e.target.value; e.stopPropagation(); -- 2.43.5