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:
a110e55
)
HTML inserted by JS.
author
Mike Taylor
<mike@indexdata.com>
Tue, 18 Jun 2013 13:56:14 +0000
(14:56 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 18 Jun 2013 13:56:14 +0000
(14:56 +0100)
experiments/spclient/mkws.js
patch
|
blob
|
history
diff --git
a/experiments/spclient/mkws.js
b/experiments/spclient/mkws.js
index
8fb51fb
..
65e6219
100644
(file)
--- a/
experiments/spclient/mkws.js
+++ b/
experiments/spclient/mkws.js
@@
-376,4
+376,10
@@
$(document).ready(function() {
domReady();
var jqxhr = jQuery.get("/service-proxy-auth")
.fail(function() { alert("service proxy authentifiction failed"); });
+
+ // Less code needs to be included in the HTML client
+ $('#switchmenu').html('\
+ <a href="#" onclick="switchView(\'recordview\')">Record Browser</a>\
+ <span> | </span>\
+ <a href="#" onclick="switchView(\'targetview\')">Target Info</a>');
});