Enhancements and bug fixes on SiteTreeURLSegmentField. #265

Merged
merged 0 commits into from Jan 11, 2013

Projects

None yet

1 participant

@ryanwachtl
Contributor

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').

@ryanwachtl
Contributor

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 Jan 4, 2013
Closed

SiteTreeURLSegmentField_modeladmin.js no longer required. #26

@ryanwachtl
Contributor

This also fixes http://open.silverstripe.org/ticket/8032

Multiple SiteTreeURLSegmentFields can be used on the same page.

@ryanwachtl ryanwachtl merged commit 894d487 into silverstripe:3.1 Jan 11, 2013
@ryanwachtl ryanwachtl deleted the unknown repository branch Jan 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment