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 182-208 Link Here
182
        }
182
        }
183
[% END %]
183
[% END %]
184
184
185
function confirmnotdup(redirect){
186
    $("#confirm_not_duplicate").attr("value","1");
187
    $("#redirect").attr("value",redirect);
188
    Check();
189
}
190
191
function Dopop(link,i) {
192
    defaultvalue = document.getElementById(i).value;
193
    window.open(link+"&result="+defaultvalue,"valuebuilder",'width=700,height=550,toolbar=false,scrollbars=yes');
194
}
195
196
/**
197
 * this function open a popup to search on z3950 server.
198
 */
199
function PopupZ3950() {
200
    var strQuery = GetZ3950Terms();
201
    if(strQuery){
202
        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');
203
    }
204
}
205
206
/**
185
/**
207
* this function append button for create new authority if not found
186
* this function append button for create new authority if not found
208
*/
187
*/
Lines 220-226 function addCreateAuthorityButton(tag_subfield_line, heading, tag_index) { Link Here
220
            // Create a new form that will be POSTed in the new window
199
            // Create a new form that will be POSTed in the new window
221
            var form = $('<form>').attr({
200
            var form = $('<form>').attr({
222
            method: 'post',
201
            method: 'post',
223
            action: "../authorities/authorities.pl",
202
            action: "/cgi-bin/authorities/authorities.pl",
224
            target: "new_auth_popup"
203
            target: "new_auth_popup"
225
            });
204
            });
226
            //add the authtypecode
205
            //add the authtypecode
Lines 271-277 function updateHeadingLinks(links) { Link Here
271
250
272
    // Delete the old message dialog and create a new one
251
    // Delete the old message dialog and create a new one
273
    $('#autolinker_dialog').remove();
252
    $('#autolinker_dialog').remove();
274
    var message_dialog = $('<div id="autolinker_dialog" class="dialog"><strong>' + _("Automatic authority link results:") + '</strong><ul></ul></div>');
253
    var message_dialog = $('<div id="autolinker_dialog" class="dialog message"><strong>' + _("Automatic authority link results:") + '</strong><ul></ul></div>');
275
    var message_dialog_ul = message_dialog.find('ul');
254
    var message_dialog_ul = message_dialog.find('ul');
276
255
277
    $.each(links, function(index, heading) {
256
    $.each(links, function(index, heading) {
278
- 

Return to bug 11299