mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR apply a sitetree filter when changing subsites (from r87369)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@98162 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9563c650b4
commit
09fcd25c18
@ -170,6 +170,9 @@ SiteTreeFilter.applyTo('#siteTreeFilterList');
|
||||
SiteTreeFilter.prototype = {
|
||||
initialize: function () {
|
||||
},
|
||||
reapplyIfNeeded: function() {
|
||||
if(this.options[this.selectedIndex].value != 'all') this.onchange();
|
||||
},
|
||||
onchange : function() {
|
||||
var value = this.options[this.selectedIndex].value;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user