mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #940 from gbonanome/FixJavascriptFilesImages
Fixed js bug on Files and Images tree
This commit is contained in:
commit
cdbbbb6b13
@ -31,8 +31,8 @@ addpageclass.prototype = {
|
||||
|
||||
var selectedNode = $('sitetree').firstSelected();
|
||||
if(selectedNode) this.showApplicableChildrenPageTypes(selectedNode.hints);
|
||||
$('sitetree').observeMethod('SelectionChanged', this.treeSelectionChanged.bind(this));
|
||||
}
|
||||
$('sitetree').observeMethod('SelectionChanged', this.treeSelectionChanged.bind(this));
|
||||
},
|
||||
|
||||
onclick : function() {
|
||||
|
Loading…
Reference in New Issue
Block a user