silverstripe-framework/admin/client/dist/js/UploadField_select.js
Ingo Schommer 6be25f3b52 Entry point for UploadField_select.js
Used in iframe, so can't be rolled into other code.
Moved in admin/ since that's easier for now with Webpack entry points,
and we'll move all JS/CSS into admin/ anyway soon.
2016-09-16 13:44:14 +12:00

2 lines
687 B
JavaScript

!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(1),i=r(o);i["default"].entwine("ss",function(e){e("form.uploadfield-form .TreeDropdownField").entwine({onmatch:function t(){this._super();var e=this;this.bind("change",function(){var t=e.closest("form").find(".grid-field");t.setState("ParentID",e.getValue()),t.reload()})},onunmatch:function n(){this._super()}})})},function(e,t){e.exports=jQuery}]);
//# sourceMappingURL=UploadField_select.js.map