Bug 35044: (QA follow-up): Remove useless code
Most definitely a copy paste error. I've tested and retested this particular JS piece of code, works as intended before and after removing this badly copy pasted code. I'm surprised this wasn't causing a console error. Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
afe1d0a4c6
commit
012a4418f6
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@
|
|||
alert(_("You cannot select an authorised value category and a MARC field") );
|
||||
return false;
|
||||
}
|
||||
} $("#repeatable").prop('checked') == true
|
||||
}
|
||||
if ( $("#marcfield").length && $("#repeatable").length) {
|
||||
if ( $("#marcfield").val().length > 0 && $("#repeatable").prop('checked') == true ) {
|
||||
alert(_("You cannot set a MARC field as repeatable") );
|
||||
|
|
Loading…
Reference in a new issue