mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Building JS bundle
This commit is contained in:
parent
3659704f75
commit
8a89876658
2
client/dist/js/bundle.js
vendored
2
client/dist/js/bundle.js
vendored
@ -22,7 +22,7 @@ this.updateSelectionFilter(u,c)},updateSelectionFilter:function r(e,n){var a=nul
|
||||
if(this.find("#Form_AddForm_PageType div.radio").each(function(){var n=t(this).find("input").val(),i=t.inArray(n,e)===-1
|
||||
t(this).setEnabled(i),i||t(this).setSelected(!1),a=null===a?i:a&&i}),n)var i=this.find("#Form_AddForm_PageType div.radio input[value="+n+"]").parents("li:first")
|
||||
else var i=this.find("#Form_AddForm_PageType div.radio:not(.disabled):first")
|
||||
i.setSelected(!0),i.siblings().setSelected(!1),this.find("#Form_AddForm_PageType div.radio:not(.disabled)").length?this.find("button[name=action_doAdd]").removeAttr("disabled"):this.find("button[name=action_doAdd]").addAttr("disabled"),
|
||||
i.setSelected(!0),i.siblings().setSelected(!1),this.find("#Form_AddForm_PageType div.radio:not(.disabled)").length?this.find("button[name=action_doAdd]").removeAttr("disabled"):this.find("button[name=action_doAdd]").attr("disabled","disabled"),
|
||||
this.find(".message-restricted")[a?"hide":"show"]()}}),t(".cms-add-form #Form_AddForm_PageType div.radio").entwine({onclick:function o(t){this.setSelected(!0)},setSelected:function d(t){var e=this.find("input")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user