Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
i-just committed Jan 2, 2025
1 parent 462858f commit 2f792bb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/cp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/cp.js.map

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions src/web/assets/cp/src/js/CP.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,13 +388,13 @@ Craft.CP = Garnish.Base.extend(
},

// disable fs/email/field settings when plugin doesn't set readOnlySettingsReady to true
disableSettings: function() {
disableSettings: function () {
if ($('.disabled-settings.disabled').length > 0) {
$('.disabled-settings.disabled')
.find('.input *:focusable')
.each((key, element) => {
$(element).attr('disabled', '');
});
$('.disabled-settings.disabled')
.find('.input *:focusable')
.each((key, element) => {
$(element).attr('disabled', '');
});
}
},

Expand Down

0 comments on commit 2f792bb

Please sign in to comment.