View | Details | Raw Unified | Return to bug 11299
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt (-2 / +2 lines)
Lines 212-220 function confirmnotdup(redirect){ Link Here
212
    <input type="hidden" name="op" value="add" />
212
    <input type="hidden" name="op" value="add" />
213
    <input type="hidden" name="addfield_field" value="" />
213
    <input type="hidden" name="addfield_field" value="" />
214
    <input type="hidden" name="repeat_field" value="" />
214
    <input type="hidden" name="repeat_field" value="" />
215
    <input type="hidden" name="authtypecode" value="[% authtypecode  | html%]" />
215
    <input type="hidden" name="authtypecode" value="[% authtypecode | html%]" />
216
    <input type="hidden" name="authid" value="[% authid | html %]" />
216
    <input type="hidden" name="authid" value="[% authid | html %]" />
217
    <input type="hidden" name="index" value="[% index | html  %]" />
217
    <input type="hidden" name="index" value="[% index | html %]" />
218
    <input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" />
218
    <input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" />
219
219
220
    <div id="toolbar" class="btn-toolbar">
220
    <div id="toolbar" class="btn-toolbar">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-24 / +2 lines)
Lines 183-209 Link Here
183
        }
183
        }
184
[% END %]
184
[% END %]
185
185
186
function confirmnotdup(redirect){
187
    $("#confirm_not_duplicate").attr("value","1");
188
    $("#redirect").attr("value",redirect);
189
    Check();
190
}
191
192
function Dopop(link,i) {
193
    defaultvalue = document.getElementById(i).value;
194
    window.open(link+"&result="+defaultvalue,"valuebuilder",'width=700,height=550,toolbar=false,scrollbars=yes');
195
}
196
197
/**
198
 * this function open a popup to search on z3950 server.
199
 */
200
function PopupZ3950() {
201
    var strQuery = GetZ3950Terms();
202
    if(strQuery){
203
        window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber | html %]"+strQuery,"z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes');
204
    }
205
}
206
207
/**
186
/**
208
* this function append button for create new authority if not found
187
* this function append button for create new authority if not found
209
*/
188
*/
Lines 221-227 function addCreateAuthorityButton(tag_subfield_line, heading, tag_index) { Link Here
221
            // Create a new form that will be POSTed in the new window
200
            // Create a new form that will be POSTed in the new window
222
            var form = $('<form>').attr({
201
            var form = $('<form>').attr({
223
            method: 'post',
202
            method: 'post',
224
            action: "../authorities/authorities.pl",
203
            action: "/cgi-bin/authorities/authorities.pl",
225
            target: "new_auth_popup"
204
            target: "new_auth_popup"
226
            });
205
            });
227
            //add the authtypecode
206
            //add the authtypecode
Lines 272-278 function updateHeadingLinks(links) { Link Here
272
251
273
    // Delete the old message dialog and create a new one
252
    // Delete the old message dialog and create a new one
274
    $('#autolinker_dialog').remove();
253
    $('#autolinker_dialog').remove();
275
    var message_dialog = $('<div id="autolinker_dialog" class="dialog"><strong>' + _("Automatic authority link results:") + '</strong><ul></ul></div>');
254
    var message_dialog = $('<div id="autolinker_dialog" class="dialog message"><strong>' + _("Automatic authority link results:") + '</strong><ul></ul></div>');
276
    var message_dialog_ul = message_dialog.find('ul');
255
    var message_dialog_ul = message_dialog.find('ul');
277
256
278
    $.each(links, function(index, heading) {
257
    $.each(links, function(index, heading) {
279
- 

Return to bug 11299