});
-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,
{
//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');
}
},