@@ -, +, @@
---
Koha/MarcEditor.pm | 4 ++--
koha-tmpl/intranet-tmpl/prog/en/includes/marc_editor.inc | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
--- a/Koha/MarcEditor.pm
+++ a/Koha/MarcEditor.pm
@@ -505,7 +505,7 @@ sub _create_input {
my $is_readonly = $self->{type} eq $Koha::MarcEditor::EDITOR_BIBLIO && !C4::Context->preference("BiblioAddsAuthorities");
$subfield_data{marc_value} = {
- type => $self->{type} eq $Koha::MarcEditor::EDITOR_AUTHORITY ? 'text1' : 'text',
+ type => 'text',
id => $subfield_data{id},
name => $subfield_data{id},
value => $value,
@@ -526,7 +526,7 @@ sub _create_input {
$plugin->build( $pars );
if( !$plugin->errstr ) {
$subfield_data{marc_value} = {
- type => $self->{type} eq $Koha::MarcEditor::EDITOR_AUTHORITY ? 'text2' : 'text_complex',
+ type => 'text_complex',
id => $subfield_data{id},
name => $subfield_data{id},
value => $value,
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/marc_editor.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/marc_editor.inc
@@ -335,7 +335,7 @@ function Check(){
[% END %]
[% SET mv = subfield_loo.marc_value %]
- [% IF ( mv.type == 'text' or mv.type == 'text1' ) %]
+ [% IF ( mv.type == 'text' ) %]
[% IF ( mv.readonly == 1 ) %]
[% ELSE %]
@@ -344,7 +344,7 @@ function Check(){
[% IF ( mv.authtype ) %]
Tag editor
[% END %]
- [% ELSIF ( mv.type == 'text_complex' or mv.type == 'text2' ) %]
+ [% ELSIF ( mv.type == 'text_complex' ) %]
[% IF mv.noclick %]
--