Jump to:

23355 Posts in 17873 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Problem in backend

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

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

Page: 1
Go to End
Author Topic: 670 Views
  • Webdoc
    Avatar
    Community Member
    332 Posts

    Problem in backend Link to this post

    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.

  • Webdoc
    Avatar
    Community Member
    332 Posts

    Re: Problem in backend Link to this post

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

  • Webdoc
    Avatar
    Community Member
    332 Posts

    Re: Problem in backend Link to this post

    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

    670 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.