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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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


575 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...