diff options
-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);
+ }
},
/**
|