https://src.bluestatic.org
/
armadillo.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a364c4
)
Disable mouse events on the PathControl
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 30 Jan 2011 21:41:13 +0000
(16:41 -0500)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 30 Jan 2011 21:41:13 +0000
(16:41 -0500)
web_frontend/path_control.js
patch
|
blob
|
history
diff --git
a/web_frontend/path_control.js
b/web_frontend/path_control.js
index 45cbbb8ec34373d1908dd04fb444a7fb30a140bb..8d705b244c92c74f06f47230ad96351f9b21a85a 100644
(file)
--- 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();