|
Lines 146-167
Link Here
|
| 146 |
[% END %] |
146 |
[% END %] |
| 147 |
} |
147 |
} |
| 148 |
} |
148 |
} |
| 149 |
[% END %] |
|
|
| 150 |
|
149 |
|
| 151 |
//Delete create authority button and status |
150 |
//Delete create authority button and status |
| 152 |
var linkinfos = field_start.getElementsByTagName('i'); |
151 |
var linkinfos = field_start.getElementsByTagName('i'); |
| 153 |
for (index = linkinfos.length - 1; index >= 0; index--) { |
152 |
for (index = linkinfos.length - 1; index >= 0; index--) { |
| 154 |
linkinfos[index].parentNode.removeChild(linkinfos[index]); |
153 |
linkinfos[index].parentNode.removeChild(linkinfos[index]); |
| 155 |
} |
154 |
} |
| 156 |
//Change message autolinker_dialog |
155 |
//Change message autolinker_dialog |
| 157 |
var subfield_dialog = $(autolinker_dialog).children('ul').children('li'); |
156 |
var subfield_dialog = $(autolinker_dialog).children('ul').children('li'); |
| 158 |
for (index = subfield_dialog.length - 1; index >= 0; index--){ |
157 |
for (index = subfield_dialog.length - 1; index >= 0; index--){ |
| 159 |
var tag_field = field_start.id.split("_")[1]; |
158 |
var tag_field = field_start.id.split("_")[1]; |
| 160 |
if (subfield_dialog[index].innerHTML.indexOf(tag_field) !== -1 ){ |
159 |
if (subfield_dialog[index].innerHTML.indexOf(tag_field) !== -1 ){ |
| 161 |
subfield_dialog[index].innerHTML = subfield_dialog[index].innerHTML.replace(_("No matching authority found."), _("No matching authority found. A new authority was created or imported")); |
160 |
subfield_dialog[index].innerHTML = subfield_dialog[index].innerHTML.replace(_("No matching authority found."), _("No matching authority found. A new authority was created or imported")); |
| 162 |
break; |
161 |
break; |
|
|
162 |
} |
| 163 |
} |
163 |
} |
| 164 |
} |
164 |
[% END %] |
| 165 |
opener.close(); |
165 |
opener.close(); |
| 166 |
window.close(); |
166 |
window.close(); |
| 167 |
return false; |
167 |
return false; |
| 168 |
- |
|
|