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.

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.

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

TreeDropdownField


Go to End


769 Views

Avatar
Sultan

Community Member, 8 Posts

25 March 2013 at 7:56pm

Edited: 25/03/2013 8:01pm

TreeDropdownField makes the page blank. The version i m using is 3.0 When i open the treedropdownfield which contains the list of all local pages and then resize the window the page goes all blank. I dont know whether its SS bug or some bug which came coz of my work.
Console has this error - TypeError: $(...).attr(...) is undefined
[Break On This Error]
...redraw:function(){if(window.debug)console.log('redraw',this.attr('class'),this.g..
leftandmain.js

I have added the field in the following manner -
public static $has_one = array(
'PGFirstThumburl' => 'SiteTree',
)
$PGFirstThumbImageURL = new TreeDropdownField("PGFirstThumburlID", "URL for image one", "SiteTree");

If there is anything plz help me...