]> git.wh0rd.org - tt-rss.git/blobdiff - lib/CheckBoxTree.js
Replace deprecated dojo.place with domConstruct.place
[tt-rss.git] / lib / CheckBoxTree.js
index 1684c71747449cd52f17adf34482d9683fcb4036..41c74ab3bbc7f958672c02e1c5c41d9b64fe66b4 100644 (file)
@@ -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');
                                }
                        },