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