mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Changed #sitetree_ul to #sitetree in templates and javascript
This commit is contained in:
parent
ff29f3e4e8
commit
35bd9f2537
@ -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
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user