We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b62374 commit 2e9384aCopy full SHA for 2e9384a
1 file changed
frontend/assets/user_defined_in_basic.js
@@ -15,7 +15,7 @@ UserDefinedInBasic.prototype.init = function(fields, read_only_view) {
15
var remove_btn = user_defined_section.find('.subrecord-form-remove');
16
if (remove_btn.length == 0) {
17
user_defined_section.find('.btn-default').filter(':visible').click();
18
- remove_btn.attr('disabled', 'disabled');
+ user_defined_section.find('.subrecord-form-remove').attr('disabled', 'disabled');
19
window.scrollTo(0,0);
20
} else {
21
remove_btn.attr('disabled', 'disabled');
0 commit comments