diff options
author | ctrlaltca@gmail.com <> | 2011-09-13 15:36:52 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-09-13 15:36:52 +0000 |
commit | 026421ecddb050a7156b228c329e13de5f0f160d (patch) | |
tree | bd9bffbfce9bfc15790498939fab973f8d61402a /framework/Web/Javascripts/source | |
parent | 400b9a94c3d846f868c0f19048df43949f29563f (diff) |
fix for a small regression introduced in r2888, noticed in #181
Diffstat (limited to 'framework/Web/Javascripts/source')
-rw-r--r-- | framework/Web/Javascripts/source/prado/activecontrols/inlineeditor.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/framework/Web/Javascripts/source/prado/activecontrols/inlineeditor.js b/framework/Web/Javascripts/source/prado/activecontrols/inlineeditor.js index 6a6892cf..74d45515 100644 --- a/framework/Web/Javascripts/source/prado/activecontrols/inlineeditor.js +++ b/framework/Web/Javascripts/source/prado/activecontrols/inlineeditor.js @@ -28,11 +28,13 @@ Prado.WebUI.TInPlaceTextBox = Base.extend( initializeListeners : function()
{
this.onclickListener = this.enterEditMode.bindAsEventListener(this);
- Event.observe(this.element, 'click', this.onclickListener);
- if (this.options.ExternalControl)
- // Issue 181
- $(this.options.ExternalControl).stopObserving('click', this.onclickListener);
+ Event.observe(this.element, 'click', this.onclickListener);
+ if (this.options.ExternalControl)
+ {
+ // Issue 181
+ $(this.options.ExternalControl).stopObserving('click', this.onclickListener);
Event.observe($(this.options.ExternalControl), 'click', this.onclickListener);
+ }
},
/**
|