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 |
- |
|
|