projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbae9d0
)
Debug HTTP 000 error. Moved domReady into loggedIn method.
author
Dennis Schafroth
<dennis@indexdata.com>
Mon, 19 Dec 2011 10:16:38 +0000
(11:16 +0100)
committer
Dennis Schafroth
<dennis@indexdata.com>
Mon, 19 Dec 2011 10:16:38 +0000
(11:16 +0100)
www/mobile/mobile_client.js
patch
|
blob
|
history
diff --git
a/www/mobile/mobile_client.js
b/www/mobile/mobile_client.js
index
58da345
..
d024082
100644
(file)
--- a/
www/mobile/mobile_client.js
+++ b/
www/mobile/mobile_client.js
@@
-95,6
+95,7
@@
my_paz = new pz2( { "onshow": my_onshow,
// pz2.js event handlers:
//
function my_onerror(error) {
+ alert("Unhandled error: " + error.code);
switch(error.code) {
// No targets!
case "8": alert("No resources were selected for the search"); break;
@@
-195,11
+196,12
@@
function loggedIn() {
var login = document.getElementById("login");
login.innerHTML = 'Logout';
document.getElementById("log").innerHTML = login.innerHTML;
+ domReady();
}
function auth_check() {
auth.check(loggedIn, login);
- domReady();
+ //domReady();
}