Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Enhancements and bug fixes on SiteTreeURLSegmentField. #265

merged 0 commits into from

1 participant


Moved buttons into field's .ss template, moved "update from" behaviour into SiteTreeURLSegmentField.js, and added ability to set related field via data-* attribute using FormField->setAttribute('data-related-field', 'Title').


Appears that I stripped out a bunch of trailing whitespace during my editing. If this is a problem let me know.

@ryanwachtl ryanwachtl referenced this pull request in arambalakjian/DataObject-as-Page

SiteTreeURLSegmentField_modeladmin.js no longer required. #26


This also fixes

Multiple SiteTreeURLSegmentFields can be used on the same page.

@ryanwachtl ryanwachtl merged commit 894d487 into silverstripe:3.1
@ryanwachtl ryanwachtl deleted the unknown repository branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 0 deletions.
Something went wrong with that request. Please try again.