summaryrefslogtreecommitdiff
path: root/lib/CheckBoxTree.js
diff options
context:
space:
mode:
authorAnders Kaseorg <[email protected]>2017-01-21 12:54:36 -0500
committerAnders Kaseorg <[email protected]>2017-01-21 13:22:13 -0500
commit9f539be3c2c93ce358b10ca396e922b3b99b56ea (patch)
tree9426dbf5903cc666d46ea19e3c4a49b4538ffd76 /lib/CheckBoxTree.js
parent6a11634c93c9cad8eb2b4428fd69afb190355444 (diff)
Replace deprecated dojo.place with domConstruct.place
Signed-off-by: Anders Kaseorg <[email protected]>
Diffstat (limited to 'lib/CheckBoxTree.js')
-rw-r--r--lib/CheckBoxTree.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CheckBoxTree.js b/lib/CheckBoxTree.js
index 1684c7174..41c74ab3b 100644
--- a/lib/CheckBoxTree.js
+++ b/lib/CheckBoxTree.js
@@ -338,7 +338,7 @@ require(["dojo/_base/declare", "dijit/tree/TreeStoreModel"], function (declare)
});
-require(["dojo/_base/declare", "dijit/Tree"], function (declare) {
+require(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree"], function (declare, domConstruct) {
return declare("lib._CheckBoxTreeNode", dijit._TreeNode,
{
@@ -363,7 +363,7 @@ require(["dojo/_base/declare", "dijit/Tree"], function (declare) {
//this._checkbox = dojo.doc.createElement('input');
this._checkbox.type = 'checkbox';
this._checkbox.attr('checked', currState);
- dojo.place(this._checkbox.domNode, this.expandoNode, 'after');
+ domConstruct.place(this._checkbox.domNode, this.expandoNode, 'after');
}
},