MINOR Changed #sitetree_ul to #sitetree in templates and javascript

This commit is contained in:
Ingo Schommer 2011-04-05 21:12:45 +12:00
parent ff29f3e4e8
commit 35bd9f2537
4 changed files with 6 additions and 6 deletions

View File

@ -40,7 +40,7 @@
Observable.applyTo(this[0]); Observable.applyTo(this[0]);
var tree = $('#sitetree_ul'); var tree = $('#sitetree');
this.setTree(tree); this.setTree(tree);
// Event bindings // Event bindings

View File

@ -36,7 +36,7 @@
* Constructor: onmatch * Constructor: onmatch
*/ */
onmatch: function() { onmatch: function() {
var self = this, tree = $('#sitetree_ul'); var self = this, tree = $('#sitetree');
this.setTree(tree); this.setTree(tree);

View File

@ -6,7 +6,7 @@
$.entwine('ss', function($){ $.entwine('ss', function($){
$('#sitetree_ul').entwine({ $('#sitetree').entwine({
onmatch: function() { onmatch: function() {
this._super(); this._super();
@ -262,7 +262,7 @@
}); });
}); });
$('#sitetree_ul.multiple').entwine({ $('#sitetree.multiple').entwine({
onmatch: function() { onmatch: function() {
this._super(); this._super();
@ -284,7 +284,7 @@
} }
}); });
$('#sitetree_ul li').entwine({ $('#sitetree li').entwine({
/** /**
* Function: setEnabled * Function: setEnabled

View File

@ -36,7 +36,7 @@
</label> </label>
</div> </div>
<div id="sitetree_ul" data-url-tree="$Link(getsubtree)" data-url-savetreenode="$Link(savetreenode)" class="jstree jstree-apple"> <div id="sitetree" data-url-tree="$Link(getsubtree)" data-url-savetreenode="$Link(savetreenode)" class="jstree jstree-apple">
$SiteTreeAsUL $SiteTreeAsUL
</div> </div>