Merge pull request #940 from gbonanome/FixJavascriptFilesImages

Fixed js bug on Files and Images tree
This commit is contained in:
Simon Welsh 2014-03-16 20:25:25 +13:00
commit cdbbbb6b13

View File

@ -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() {