projects
/
mkws-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:
9fbc48a
)
display an error alert if service proxy authentifiction failed
author
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 13 Jun 2013 16:36:10 +0000
(18:36 +0200)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 13 Jun 2013 16:36:10 +0000
(18:36 +0200)
experiments/spdemo/index.html
patch
|
blob
|
history
diff --git
a/experiments/spdemo/index.html
b/experiments/spdemo/index.html
index
6d8f610
..
0954f03
100644
(file)
--- a/
experiments/spdemo/index.html
+++ b/
experiments/spdemo/index.html
@@
-19,7
+19,13
@@
<!-- post configure -->
<script type="text/javascript">
- $(document).ready(function() { if (useServiceProxy) jQuery.get(authURLServiceProxy) } );
+ $(document).ready(function() {
+ if (useServiceProxy) {
+ var jqxhr = jQuery.get(authURLServiceProxy)
+ .fail(function() { alert("service proxy authentifiction failed"); });
+ }
+ }
+ );
</script>
</head>