Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes #13634. Change javascript assignments of InlineEditBox:editing …

…to use _set to enable watch functionality.
  • Loading branch information...
commit e1a2c3f5484826a306fa28412b4838517eaaff69 1 parent 07d89ca
Douglas Hays authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 InlineEditBox.js
View
6 InlineEditBox.js
@@ -433,7 +433,7 @@ var InlineEditBox = declare("dijit.InlineEditBox", _Widget, {
// private
if(this.disabled || this.editing){ return; }
- this.editing = true;
+ this._set('editing', true);
// save some display node values that can be restored later
this._savedPosition = domStyle.get(this.displayNode, "position") || "static";
@@ -540,7 +540,7 @@ var InlineEditBox = declare("dijit.InlineEditBox", _Widget, {
// private
if(this.disabled || !this.editing){ return; }
- this.editing = false;
+ this._set('editing', false);
var ww = this.wrapperWidget;
var value = ww.getValue();
@@ -590,7 +590,7 @@ var InlineEditBox = declare("dijit.InlineEditBox", _Widget, {
// private
if(this.disabled || !this.editing){ return; }
- this.editing = false;
+ this._set('editing', false);
// tell the world that we have no changes
setTimeout(lang.hitch(this, "onCancel"), 0); // setTimeout prevents browser freeze for long-running event handlers
Please sign in to comment.
Something went wrong with that request. Please try again.