silverstripe/silverstripe-cms — pull request #265 by ryanwachtl (2013-01-04 06:26:59+00:00)
Title: Enhancements and bug fixes on SiteTreeURLSegmentField.

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