After i installed the securefiles and later removed it the dropdown in CMS gives error. related with leftandmain.js and dont show the drop down.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
its something with the line 636:
TreeMultiselectField=Class.extend('TreeDropdownField');TreeMultiselectField.prototype={destroy:function(){if(this.TreeDropdownField)this.TreeDropdownField.destroy();this.TreeDropdownField=null;},newTreeReady:function(response){this.TreeDropdownField.newTreeReady(response);MultiselectTree.create(this.tree);var selectedItems=this.inputTag.value.split(/ *, */);var i,isSelected={};for(i=0;i<selectedItems.length;i++)isSelected[selectedItems]=true;var allNodes=this.tree.getElementsByTagName('li');for(i=0;i<allNodes.length;i++){if(isSelected[allNodes.getIdx()]){this.tree.multiselect_handleSelectionChange(allNodes);}}},hideTree:function(){this.TreeDropdownField.hideTree();var internalVal=humanVal="";for(i in this.tree.selectedNodes){internalVal+=(internalVal?',':'')+i;humanVal+=(humanVal?', ':'')+this.tree.selectedNodes;}
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Timestamp: Sun, 13 Dec 2009 21:22:07 UTC
Message: 'this.tree.selectedNodes' is null or not an object
Line: 636
Char: 711
Code: 0
URI: http://www.maalriteliit.ee/assets/leftandmain.js?m=1260736991