MINOR Changed #sitetree_ul to #sitetree in templates and javascript

This commit is contained in:
Ingo Schommer 2011-04-05 21:13:07 +12:00
parent 766adba5ad
commit 4ec0fa224e
4 changed files with 6 additions and 6 deletions

View File

@ -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');

View File

@ -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>

View File

@ -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>

View File

@ -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>