Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Changed #sitetree_ul to #sitetree in templates and javascript

  • Loading branch information...
commit 4ec0fa224eb9e5f3d2c01959e74b505f38154ca4 1 parent 766adba
Ingo Schommer chillu authored
6 javascript/CMSMain.js
View
@@ -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');
2  templates/Includes/AssetAdmin_left.ss
View
@@ -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>
2  templates/Includes/CMSMain_left.ss
View
@@ -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>
2  templates/Includes/ReportAdmin_left.ss
View
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.