silverstripe-framework/admin/client/dist/js/UploadField_select.js
Sam Minnee c24201b5f3 FIX: Break dist javascript and onto newlines.
This doesn’t have much impact on resulting JS size, but it will
hopefully make merge conflicts much less frequent.

The CSS growth is a little higher (6.5% increase in size) but is not
material.

If this materially reduces the number of merge conflicts we have, by
letting the git merge tools resolve some dist file mergers, I think it
would be worth it.

Some example changes in file size:

bundle.js 290K -> 301K
vendor.js 1,325K -> 1,321K
bundle.css 628K -> 669K
2016-09-22 14:38:17 +12:00

8 lines
473 B
JavaScript

webpackJsonp([4],[function(e,n,t){"use strict"
function i(e){return e&&e.__esModule?e:{"default":e}}var o=t(1),r=i(o)
r["default"].entwine("ss",function(e){e("form.uploadfield-form .TreeDropdownField").entwine({onmatch:function n(){this._super()
var e=this
this.bind("change",function(){var n=e.closest("form").find(".grid-field")
n.setState("ParentID",e.getValue()),n.reload()})},onunmatch:function t(){this._super()}})})}])
//# sourceMappingURL=UploadField_select.js.map