mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Changed #sitetree_ul to #sitetree in templates and javascript
This commit is contained in:
parent
766adba5ad
commit
4ec0fa224e
@ -149,7 +149,7 @@
|
||||
_reloadSitetree: function(params) {
|
||||
var self = this;
|
||||
|
||||
$('#sitetree_ul').search(
|
||||
$('#sitetree').search(
|
||||
params,
|
||||
function() {
|
||||
self.find(':submit').attr('disabled', false).removeClass('loading');
|
||||
@ -184,7 +184,7 @@
|
||||
|
||||
// integrate with sitetree selection changes
|
||||
// TODO Only trigger when report is visible
|
||||
jQuery('#sitetree_ul').bind('select_node.jstree', function(e, data) {
|
||||
jQuery('#sitetree').bind('select_node.jstree', function(e, data) {
|
||||
var node = data.rslt.obj;
|
||||
self.find(':input[name=ID]').val(node ? $(node).data('id') : null);
|
||||
self.trigger('submit');
|
||||
@ -306,7 +306,7 @@
|
||||
});
|
||||
|
||||
// integrate with sitetree selection changes
|
||||
jQuery('#sitetree_ul').bind('select_node.jstree', function(e, data) {
|
||||
jQuery('#sitetree').bind('select_node.jstree', function(e, data) {
|
||||
var node = data.rslt.obj;
|
||||
self.find(':input[name=ID]').val(node ? $(node).data('id') : null);
|
||||
if(self.is(':visible')) self.trigger('submit');
|
||||
|
@ -36,7 +36,7 @@
|
||||
</label>
|
||||
</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
|
||||
</div>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
<div id="TreeTools">
|
||||
<% include CMSMain_TreeTools %>
|
||||
</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
|
||||
</div>
|
||||
</div>
|
||||
|
@ -10,7 +10,7 @@
|
||||
</h3>
|
||||
<div id="sitetree_holder">
|
||||
<div id="sitetree_and_tools">
|
||||
<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">
|
||||
<% include ReportAdmin_SiteTree %>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user