This fixes the QA script complaint:
FAIL koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc
FAIL forbidden patterns
forbidden pattern: simple-quote string (line 125)
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
$node.append( '<option value="' + authval.value + '"' + selected + '>' + authval.lib + '</option>' );
} );
if( !matched ){
- $node.append( '<option value="' + value + '" selected="selected">' + value + _(' (Not in authorised values list) ') + '</option>' );
+ $node.append( "<option value='" + value + "' selected='selected'>" + value + " " + _("(Not in authorised values list)") + " " + "</option>" );
}
$node.val( this.text );