mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX: Made Behaviour.apply calls more specific
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@66250 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ea97094891
commit
e4b2ebdc1e
@ -177,7 +177,7 @@ showonlydrafts.prototype = {
|
||||
new Ajax.Request( 'admin/filterSiteTree?Status=Saved&ajax=1', {
|
||||
onSuccess: function( response ) {
|
||||
$('sitetree_ul').innerHTML = response.responseText;
|
||||
Behaviour.apply();
|
||||
Behaviour.apply($('sitetree_ul'));
|
||||
$('SiteTreeIsFiltered').value = 1;
|
||||
$('batchactions').multiselectTransform();
|
||||
statusMessage(ss.i18n._t('CMSMAIN.FILTEREDTREE'),'good');
|
||||
@ -272,7 +272,7 @@ batchActionGlobals = {
|
||||
new Ajax.Request( 'admin/SiteTreeAsUL' + '&ajax=1', {
|
||||
onSuccess: function( response ) {
|
||||
$('sitetree_ul').innerHTML = response.responseText;
|
||||
Behaviour.apply();
|
||||
Behaviour.apply($('sitetree_ul'));
|
||||
$('SiteTreeIsFiltered').value = 0;
|
||||
$('batchactions').multiselectTransform();
|
||||
statusMessage(ss.i18n._t('CMSMAIN.SUCCESSUNFILTER'),'good');
|
||||
|
@ -482,7 +482,7 @@ SiteTreeFilterForm.prototype = {
|
||||
$('SiteTreeIsFiltered').value = 1;
|
||||
$('SiteTreeSearchButton').className = '';
|
||||
$('sitetree_ul').innerHTML = response.responseText;
|
||||
Behaviour.apply();
|
||||
Behaviour.apply($('sitetree_ul'));
|
||||
statusMessage('Filtered tree','good');
|
||||
},
|
||||
onFailure : function(response) {
|
||||
|
Loading…
Reference in New Issue
Block a user