|
Lines 86-91
KOHA.OverDriveCirculation = new function() {
Link Here
|
| 86 |
|
86 |
|
| 87 |
var checkout_popup = null; |
87 |
var checkout_popup = null; |
| 88 |
$( document ).ready(function() { |
88 |
$( document ).ready(function() { |
|
|
89 |
checkout_popup = $("#overdrive-checkout"); |
| 90 |
$("#overdrive-login-form").submit(function(e){ |
| 91 |
e.preventDefault(); |
| 92 |
$("#overdrive-login").modal('hide'); |
| 93 |
var ODpassword = $("input[name='ODpassword']").val(); |
| 94 |
login( ODpassword ); |
| 95 |
}); |
| 96 |
}); |
| 97 |
|
| 98 |
$( document ).ready(function() { |
| 89 |
var p = window.opener; |
99 |
var p = window.opener; |
| 90 |
if (p) { |
100 |
if (p) { |
| 91 |
try { cb = p.refresh_overdrive_account_details;} |
101 |
try { cb = p.refresh_overdrive_account_details;} |
|
Lines 97-109
KOHA.OverDriveCirculation = new function() {
Link Here
|
| 97 |
} |
107 |
} |
| 98 |
window.close(); |
108 |
window.close(); |
| 99 |
} |
109 |
} |
| 100 |
checkout_popup = $("#overdrive-checkout"); |
|
|
| 101 |
$("#overdrive-login-form").submit(function(e){ |
| 102 |
e.preventDefault(); |
| 103 |
$("#overdrive-login").modal('hide'); |
| 104 |
var ODpassword = $("input[name='ODpassword']").val(); |
| 105 |
login( ODpassword ); |
| 106 |
}); |
| 107 |
}); |
110 |
}); |
| 108 |
|
111 |
|
| 109 |
function display_account (container, data) { |
112 |
function display_account (container, data) { |
| 110 |
- |
|
|