silverstripe-framework/admin/client/dist/js/UploadField_select.js
2017-02-27 10:58:41 +13:00

7 lines
426 B
JavaScript

webpackJsonp([3],[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()}})})}])