2009-11-21 03:37:12 +01:00
|
|
|
/**
|
|
|
|
* @type jquery.layout Global variable so layout state management
|
|
|
|
* can pick it up.
|
|
|
|
*/
|
|
|
|
var ss_MainLayout;
|
|
|
|
|
2009-11-21 03:36:00 +01:00
|
|
|
(function($) {
|
2009-11-21 03:37:41 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @class Layout handling for the main CMS interface,
|
|
|
|
* with tree on left and main edit form on the right.
|
|
|
|
* @name ss.CMSMain
|
|
|
|
*/
|
2009-11-21 03:37:48 +01:00
|
|
|
$('body.CMSMain').concrete('ss', function($){
|
|
|
|
return/** @lends ss.CMSMain */{
|
2009-11-21 03:36:26 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
/**
|
|
|
|
* Reference to jQuery.layout element
|
|
|
|
* @type Object
|
|
|
|
*/
|
|
|
|
MainLayout: null,
|
2009-11-21 03:37:41 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
onmatch: function() {
|
|
|
|
var self = this;
|
2009-11-21 03:36:22 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// Layout
|
|
|
|
ss_MainLayout = this._setupLayout();
|
|
|
|
this.setMainLayout(ss_MainLayout);
|
|
|
|
layoutState.options.keys = "west.size,west.isClosed";
|
|
|
|
$(window).unload(function(){ layoutState.save('ss_MainLayout');});
|
2009-11-21 03:36:09 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// artificially delay the resize event 200ms
|
|
|
|
// to avoid overlapping height changes in different onresize() methods
|
|
|
|
$(window).resize(function () {
|
|
|
|
var timerID = "timerCMSMainResize";
|
|
|
|
if (window[timerID]) clearTimeout(window[timerID]);
|
|
|
|
window[timerID] = setTimeout(function() {self._resizeChildren();}, 200);
|
|
|
|
});
|
2009-11-21 03:37:16 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// If tab has no nested tabs, set overflow to auto
|
|
|
|
$(this).find('.tab').not(':has(.tab)').css('overflow', 'auto');
|
2009-11-21 03:36:22 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
this._resizeChildren();
|
2009-11-21 03:36:22 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
this._super();
|
|
|
|
},
|
2009-11-21 03:36:09 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
_resizeChildren: function() {
|
|
|
|
$("#treepanes", this).accordion("resize");
|
|
|
|
$('#sitetree_and_tools', this).fitHeightToParent();
|
|
|
|
$('#contentPanel form', this).fitHeightToParent();
|
|
|
|
$('#contentPanel form fieldset', this).fitHeightToParent();
|
|
|
|
$('#contentPanel form fieldset .content', this).fitHeightToParent();
|
2009-11-21 03:36:22 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
this._super();
|
|
|
|
},
|
2009-11-21 03:36:00 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
/**
|
|
|
|
* Initialize jQuery layout manager with the following panes:
|
|
|
|
* - east: Tree, Page Version History, Site Reports
|
|
|
|
* - center: Form
|
|
|
|
* - west: "Insert Image", "Insert Link", "Insert Flash" panes
|
|
|
|
* - north: CMS area menu bar
|
|
|
|
* - south: "Page view", "profile" and "logout" links
|
|
|
|
*/
|
|
|
|
_setupLayout: function() {
|
|
|
|
var self = this;
|
2009-11-21 03:36:22 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// layout containing the tree, CMS menu, the main form etc.
|
|
|
|
var savedLayoutSettings = layoutState.load('ss_MainLayout');
|
|
|
|
var layoutSettings = jQuery.extend({
|
|
|
|
defaults: {
|
|
|
|
// TODO Reactivate once we have localized values
|
|
|
|
togglerTip_open: '',
|
|
|
|
togglerTip_closed: '',
|
|
|
|
resizerTip: '',
|
|
|
|
sliderTip: '',
|
|
|
|
onresize: function() {self._resizeChildren();},
|
|
|
|
onopen: function() {self._resizeChildren();}
|
|
|
|
},
|
|
|
|
north: {
|
|
|
|
slidable: false,
|
|
|
|
resizable: false,
|
|
|
|
size: 35,
|
|
|
|
togglerLength_open: 0
|
|
|
|
},
|
|
|
|
south: {
|
|
|
|
slidable: false,
|
|
|
|
resizable: false,
|
|
|
|
size: 23,
|
|
|
|
togglerLength_open: 0
|
|
|
|
},
|
|
|
|
west: {
|
|
|
|
size: 225,
|
|
|
|
fxName: "none"
|
|
|
|
},
|
|
|
|
east: {
|
|
|
|
initClosed: true,
|
|
|
|
// multiple panels which are triggered through tinymce buttons,
|
|
|
|
// so a user shouldn't be able to toggle this panel manually
|
|
|
|
initHidden: true,
|
|
|
|
fxName: "none",
|
|
|
|
size: 250
|
|
|
|
},
|
|
|
|
center: {}
|
|
|
|
}, savedLayoutSettings);
|
|
|
|
var layout = $('body').layout(layoutSettings);
|
2009-11-21 03:36:00 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// Adjust tree accordion etc. in left panel to work correctly
|
|
|
|
// with jQuery.layout (see http://layout.jquery-dev.net/tips.html#Widget_Accordion)
|
|
|
|
this.find("#treepanes").accordion({
|
|
|
|
fillSpace: true,
|
|
|
|
animated: false
|
|
|
|
});
|
2009-11-21 03:36:00 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
return layout;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
});
|
2009-11-21 03:36:13 +01:00
|
|
|
|
|
|
|
/**
|
2009-11-21 03:37:41 +01:00
|
|
|
* @class CMS-specific form behaviour
|
|
|
|
* @name ss.EditForm
|
2009-11-21 03:36:13 +01:00
|
|
|
*/
|
2009-11-21 03:37:48 +01:00
|
|
|
$('#Form_EditForm').concrete('ss', function($){
|
|
|
|
return/** @lends ss.EditForm */{
|
2009-11-21 03:38:31 +01:00
|
|
|
onmatch: function() {
|
|
|
|
// Alert the user on change of page-type - this might have implications
|
|
|
|
// on the available form fields etc.
|
|
|
|
this.find(':input[name=ClassName]').bind('change',
|
|
|
|
function() {
|
|
|
|
alert('The page type will be updated after the page is saved');
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
});
|
2009-11-21 03:36:13 +01:00
|
|
|
|
|
|
|
/**
|
2009-11-21 03:37:41 +01:00
|
|
|
* @class ParentID field combination - mostly toggling between
|
2009-11-21 03:36:13 +01:00
|
|
|
* the two radiobuttons and setting the hidden "ParentID" field
|
2009-11-21 03:37:41 +01:00
|
|
|
* @name ss.EditForm.ParentType
|
2009-11-21 03:36:13 +01:00
|
|
|
*/
|
2009-11-21 03:37:48 +01:00
|
|
|
$('#Form_EditForm_ParentType').concrete('ss', function($){
|
|
|
|
return/** @lends ss.EditForm.ParentType */{
|
2009-11-21 03:38:31 +01:00
|
|
|
onmatch : function() {
|
|
|
|
var parentTypeRootEl = $('#Form_EditForm_ParentType_root');
|
|
|
|
var parentTypeSubpageEl = $('#Form_EditForm_ParentType_subpage');
|
|
|
|
if(parentTypeRootEl) {
|
|
|
|
parentTypeRootEl.onclick = this._rootClick.bind(this);
|
|
|
|
}
|
|
|
|
if(parentTypeSubpageEl) {
|
|
|
|
parentTypeSubpageEl.onclick = this.showHide;
|
|
|
|
}
|
|
|
|
this.showHide();
|
|
|
|
},
|
2009-11-21 03:36:13 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
_rootClick : function() {
|
|
|
|
$('#Form_EditForm_ParentID').val(0);
|
|
|
|
this.showHide();
|
|
|
|
},
|
2009-11-21 03:36:13 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
showHide : function() {
|
|
|
|
var parentTypeRootEl = $('#Form_EditForm_ParentType_root');
|
|
|
|
if(parentTypeRootEl && parentTypeRootEl.checked) {
|
|
|
|
$('#ParentID').hide();
|
|
|
|
} else {
|
|
|
|
$('#ParentID').show();
|
|
|
|
}
|
2009-11-21 03:36:13 +01:00
|
|
|
}
|
2009-11-21 03:38:31 +01:00
|
|
|
};
|
|
|
|
});
|
2009-11-21 03:36:13 +01:00
|
|
|
|
2009-11-21 03:38:10 +01:00
|
|
|
/**
|
|
|
|
* @class Toggle display of group dropdown in "access" tab,
|
|
|
|
* based on selection of radiobuttons.
|
|
|
|
* @name ss.Form_EditForm.Access
|
|
|
|
*/
|
|
|
|
$('#Form_EditForm #CanViewType, #Form_EditForm #CanEditType').concrete('ss', function($){
|
|
|
|
return/** @lends ss.Form_EditForm.Access */{
|
|
|
|
onmatch: function() {
|
|
|
|
// TODO Decouple
|
|
|
|
var dropdown;
|
|
|
|
if(this.attr('id') == 'CanViewType') dropdown = $('#ViewerGroups');
|
|
|
|
else if(this.attr('id') == 'CanEditType') dropdown = $('#EditorGroups');
|
|
|
|
|
|
|
|
this.find('.optionset :input').bind('change', function(e) {
|
|
|
|
dropdown.toggle(e.target.value == 'OnlyTheseUsers');
|
|
|
|
});
|
|
|
|
|
|
|
|
// initial state
|
|
|
|
var currentVal = this.find('input[name=' + this.attr('id') + ']:checked').val();
|
|
|
|
dropdown.toggle(currentVal == 'OnlyTheseUsers');
|
|
|
|
}
|
2009-11-21 03:38:31 +01:00
|
|
|
};
|
2009-11-21 03:38:10 +01:00
|
|
|
});
|
|
|
|
|
2009-11-21 03:36:13 +01:00
|
|
|
/**
|
2009-11-21 03:37:41 +01:00
|
|
|
* @class Email containing the link to the archived version of the page.
|
2009-11-21 03:36:13 +01:00
|
|
|
* Visible on readonly older versions of a specific page at the moment.
|
2009-11-21 03:37:41 +01:00
|
|
|
* @name ss.Form_EditForm_action_email
|
2009-11-21 03:36:13 +01:00
|
|
|
*/
|
2009-11-21 03:37:48 +01:00
|
|
|
$('#Form_EditForm .Actions #Form_EditForm_action_email').concrete('ss', function($){
|
|
|
|
return/** @lends ss.Form_EditForm_action_email */{
|
2009-11-21 03:38:31 +01:00
|
|
|
onclick: function(e) {
|
|
|
|
window.open(
|
|
|
|
'mailto:?subject='
|
|
|
|
+ $('input[name=ArchiveEmailSubject]', this[0].form).val()
|
|
|
|
+ '&body='
|
|
|
|
+ $(':input[name=ArchiveEmailMessage]', this[0].form).val(),
|
|
|
|
'archiveemail'
|
|
|
|
);
|
2009-11-21 03:36:13 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
});
|
2009-11-21 03:36:13 +01:00
|
|
|
|
|
|
|
/**
|
2009-11-21 03:37:41 +01:00
|
|
|
* @class Open a printable representation of the form in a new window.
|
2009-11-21 03:36:13 +01:00
|
|
|
* Used for readonly older versions of a specific page.
|
2009-11-21 03:37:41 +01:00
|
|
|
* @name ss.Form_EditForm_action_print
|
2009-11-21 03:36:13 +01:00
|
|
|
*/
|
2009-11-21 03:37:48 +01:00
|
|
|
$('#Form_EditForm .Actions #Form_EditForm_action_print').concrete('ss', function($){
|
|
|
|
return/** @lends ss.Form_EditForm_action_print */{
|
2009-11-21 03:38:31 +01:00
|
|
|
onclick: function(e) {
|
|
|
|
var printURL = $(this[0].form).attr('action').replace(/\?.*$/,'')
|
|
|
|
+ '/printable/'
|
|
|
|
+ $(':input[name=ID]',this[0].form).val();
|
|
|
|
if(printURL.substr(0,7) != 'http://') printURL = $('base').attr('href') + printURL;
|
2009-11-21 03:36:13 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
window.open(printURL, 'printable');
|
2009-11-21 03:36:13 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
});
|
2009-11-21 03:36:13 +01:00
|
|
|
|
|
|
|
/**
|
2009-11-21 03:37:41 +01:00
|
|
|
* @class A "rollback" to a specific version needs user confirmation.
|
|
|
|
* @name ss.Form_EditForm_action_rollback
|
2009-11-21 03:36:13 +01:00
|
|
|
*/
|
2009-11-21 03:37:48 +01:00
|
|
|
$('#Form_EditForm .Actions #Form_EditForm_action_rollback').concrete('ss', function($){
|
|
|
|
return/** @lends ss.Form_EditForm_action_rollback */{
|
2009-11-21 03:38:31 +01:00
|
|
|
onclick: function(e) {
|
|
|
|
// @todo i18n
|
|
|
|
return confirm("Do you really want to copy the published content to the stage site?");
|
|
|
|
}
|
|
|
|
};
|
|
|
|
});
|
2009-11-21 03:36:26 +01:00
|
|
|
|
|
|
|
/**
|
2009-11-21 03:37:41 +01:00
|
|
|
* @class All forms in the right content panel should have closeable jQuery UI style titles.
|
|
|
|
* @name ss.contentPanel.form
|
2009-11-21 03:36:26 +01:00
|
|
|
*/
|
2009-11-21 03:37:48 +01:00
|
|
|
$('#contentPanel form').concrete('ss', function($){
|
|
|
|
return/** @lends ss.contentPanel.form */{
|
2009-11-21 03:38:31 +01:00
|
|
|
onmatch: function() {
|
|
|
|
// Style as title bar
|
|
|
|
this.find(':header:first').titlebar({
|
|
|
|
closeButton:true
|
|
|
|
});
|
|
|
|
// The close button should close the east panel of the layout
|
|
|
|
this.find(':header:first .ui-dialog-titlebar-close').bind('click', function(e) {
|
|
|
|
$('body.CMSMain').concrete('ss').MainLayout().close('east');
|
2009-11-21 03:36:26 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
return false;
|
|
|
|
});
|
|
|
|
}
|
|
|
|
};
|
|
|
|
});
|
2009-11-21 03:37:06 +01:00
|
|
|
|
|
|
|
/**
|
2009-11-21 03:37:41 +01:00
|
|
|
* @class Control the site tree filter.
|
2009-11-21 03:37:08 +01:00
|
|
|
* Toggles search form fields based on a dropdown selection,
|
|
|
|
* similar to "Smart Search" criteria in iTunes.
|
2009-11-21 03:37:41 +01:00
|
|
|
* @name ss.Form_SeachTreeForm
|
2009-11-21 03:37:06 +01:00
|
|
|
*/
|
2009-11-21 03:37:48 +01:00
|
|
|
$('#Form_SearchTreeForm').concrete('ss', function($) {
|
|
|
|
return/** @lends ss.Form_SeachTreeForm */{
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
/**
|
|
|
|
* @type DOMElement
|
|
|
|
*/
|
|
|
|
SelectEl: null,
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
onmatch: function() {
|
|
|
|
var self = this;
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// TODO Cant bind to onsubmit/onreset directly because of IE6
|
|
|
|
this.bind('submit', function(e) {return self._submitForm(e);});
|
|
|
|
this.bind('reset', function(e) {return self._resetForm(e);});
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// only the first field should be visible by default
|
|
|
|
this.find('.field').not(':first').hide();
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// generate the field dropdown
|
|
|
|
this.setSelectEl($('<select name="options" class="options"></select>')
|
|
|
|
.appendTo(this.find('fieldset:first'))
|
|
|
|
.bind('change', function(e) {self._addField(e);})
|
|
|
|
);
|
2009-11-21 03:38:23 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
this._setOptions();
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
},
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
_setOptions: function() {
|
|
|
|
var self = this;
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// reset existing elements
|
|
|
|
self.SelectEl().find('option').remove();
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// add default option
|
|
|
|
// TODO i18n
|
|
|
|
jQuery('<option value="0">Add Criteria</option>').appendTo(self.SelectEl());
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// populate dropdown values from existing fields
|
|
|
|
this.find('.field').each(function() {
|
|
|
|
$('<option />').appendTo(self.SelectEl())
|
|
|
|
.val(this.id)
|
|
|
|
.text($(this).find('label').text());
|
|
|
|
});
|
|
|
|
},
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
/**
|
|
|
|
* Filter tree based on selected criteria.
|
|
|
|
*/
|
|
|
|
_submitForm: function(e) {
|
|
|
|
var self = this;
|
|
|
|
var data = [];
|
2009-11-21 03:37:08 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// convert from jQuery object literals to hash map
|
|
|
|
$(this.serializeArray()).each(function(i, el) {
|
|
|
|
data[el.name] = el.value;
|
|
|
|
});
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// Set new URL
|
|
|
|
$('#sitetree')[0].setCustomURL(this.attr('action') + '&action_getfilteredsubtree=1', data);
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// Disable checkbox tree controls that currently don't work with search.
|
|
|
|
// @todo: Make them work together
|
|
|
|
if ($('#sitetree')[0].isDraggable) $('#sitetree')[0].stopBeingDraggable();
|
|
|
|
this.find('.checkboxAboveTree :checkbox').val(false).attr('disabled', true);
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// disable buttons to avoid multiple submission
|
|
|
|
//this.find(':submit').attr('disabled', true);
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
this.find(':submit[name=action_getfilteredsubtree]').addClass('loading');
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
this._reloadSitetree();
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
return false;
|
|
|
|
},
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
_resetForm: function(e) {
|
|
|
|
this.find('.field').clearFields().not(':first').hide();
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// Reset URL to default
|
|
|
|
$('#sitetree')[0].clearCustomURL();
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// Enable checkbox tree controls
|
|
|
|
this.find('.checkboxAboveTree :checkbox').attr('disabled', 'false');
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// reset all options, some of the might be removed
|
|
|
|
this._setOptions();
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
this._reloadSitetree();
|
2009-11-21 03:37:08 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
return false;
|
|
|
|
},
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
_addField: function(e) {
|
|
|
|
var $select = $(e.target);
|
|
|
|
// show formfield matching the option
|
|
|
|
this.find('#' + $select.val()).show();
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// remove option from dropdown, each field should just exist once
|
|
|
|
this.find('option[value=' + $select.val() + ']').remove();
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
// jump back to default entry
|
|
|
|
$select.val(0);
|
2009-11-21 03:37:06 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
return false;
|
|
|
|
},
|
2009-11-21 03:37:08 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
_reloadSitetree: function() {
|
|
|
|
var self = this;
|
2009-11-21 03:37:08 +01:00
|
|
|
|
2009-11-21 03:38:31 +01:00
|
|
|
$('#sitetree')[0].reload({
|
|
|
|
onSuccess : function(response) {
|
|
|
|
self.find(':submit').attr('disabled', false).removeClass('loading');
|
|
|
|
self.find('.checkboxAboveTree :checkbox').attr('disabled', 'true');
|
|
|
|
statusMessage('Filtered tree','good');
|
|
|
|
},
|
|
|
|
onFailure : function(response) {
|
|
|
|
self.find(':submit').attr('disabled', false).removeClass('loading');
|
|
|
|
self.find('.checkboxAboveTree :checkbox').attr('disabled', 'true');
|
|
|
|
errorMessage('Could not filter site tree<br />' + response.responseText);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
};
|
|
|
|
});
|
2009-11-21 03:36:09 +01:00
|
|
|
|
2009-11-21 03:36:26 +01:00
|
|
|
})(jQuery);
|