Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Problem in backend

Go to End

3 Posts   988 Views


Community Member, 349 Posts

14 December 2009 at 9:36am

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.


Community Member, 349 Posts

14 December 2009 at 9:54am

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;}


Community Member, 349 Posts

14 December 2009 at 10:22am

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