silverstripe-framework/admin/client/dist/js/UploadField_select.js

7 lines
426 B
JavaScript
Raw Normal View History

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()}})})}])