});
});
-require(["dojo/_base/declare", "dijit/Tree", "dijit/Menu"], function (declare) {
+require(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"], function (declare, domConstruct) {
return declare("fox.FeedTree", dijit.Tree, {
_onKeyPress: function(/* Event */ e) {
color: fg_color,
backgroundColor: bg_color});
- dojo.place(span, tnode.iconNode, 'replace');
+ domConstruct.place(span, tnode.iconNode, 'replace');
}
if (id.match("FEED:")) {
loading = dojo.doc.createElement('img');
loading.className = 'loadingNode';
loading.src = 'images/blank_icon.gif';
- dojo.place(loading, tnode.labelNode, 'after');
+ domConstruct.place(loading, tnode.labelNode, 'after');
tnode.loadingNode = loading;
}
args.item.unread == 0 && args.item.auxcounter > 0 ? ctr.addClassName("aux") : ctr.removeClassName("aux");
- dojo.place(ctr, tnode.rowNode, 'first');
+ domConstruct.place(ctr, tnode.rowNode, 'first');
tnode.counterNode = ctr;
//tnode.labelNode.innerHTML = args.label;
});
-require(["dojo/_base/declare", "lib/CheckBoxTree"], function (declare) {
+require(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], function (declare, domConstruct) {
return declare("fox.PrefFeedTree", lib.CheckBoxTree, {
_createTreeNode: function(args) {
param = dojo.doc.createElement('span');
param.className = 'feedParam';
param.innerHTML = args.item.param[0];
- //dojo.place(param, tnode.labelNode, 'after');
- dojo.place(param, tnode.rowNode, 'first');
+ //domConstruct.place(param, tnode.labelNode, 'after');
+ domConstruct.place(param, tnode.rowNode, 'first');
}
var id = args.item.id[0];
});
});
-require(["dojo/_base/declare", "lib/CheckBoxTree"], function (declare) {
+require(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], function (declare, domConstruct) {
return declare("fox.PrefFilterTree", lib.CheckBoxTree, {
_createTreeNode: function(args) {
param = dojo.doc.createElement('span');
param.className = (enabled != false) ? 'labelParam' : 'labelParam filterDisabled';
param.innerHTML = args.item.param[0];
- dojo.place(param, tnode.rowNode, 'first');
+ domConstruct.place(param, tnode.rowNode, 'first');
}
if (rules) {
param = dojo.doc.createElement('span');
param.className = 'filterRules';
param.innerHTML = rules;
- dojo.place(param, tnode.rowNode, 'next');
+ domConstruct.place(param, tnode.rowNode, 'next');
}
if (this.model.store.getValue(args.item, 'id') != 'root') {
img.src ='images/filter.png';
img.className = 'markedPic';
tnode._filterIconNode = img;
- dojo.place(tnode._filterIconNode, tnode.labelNode, 'before');
+ domConstruct.place(tnode._filterIconNode, tnode.labelNode, 'before');
}
return tnode;
-require(["dojo/_base/declare", "lib/CheckBoxTree", "dijit/form/DropDownButton"], function (declare) {
+require(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree", "dijit/form/DropDownButton"], function (declare, domConstruct) {
return declare("fox.PrefLabelTree", lib.CheckBoxTree, {
setNameById: function (id, name) {
tnode._labelIconNode = span;
- dojo.place(tnode._labelIconNode, tnode.labelNode, 'before');
+ domConstruct.place(tnode._labelIconNode, tnode.labelNode, 'before');
}
return tnode;
});
-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');
}
},