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:
e425d2a
)
Save displayName of authenticated library, if any, as mkws.authName.
author
Mike Taylor
<mike@indexdata.com>
Wed, 26 Mar 2014 17:33:31 +0000
(17:33 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 26 Mar 2014 17:33:31 +0000
(17:33 +0000)
Part of MKWS-145 (Make a library-name widget).
src/mkws-core.js
patch
|
blob
|
history
diff --git
a/src/mkws-core.js
b/src/mkws-core.js
index
7df143a
..
753ffed
100644
(file)
--- a/
src/mkws-core.js
+++ b/
src/mkws-core.js
@@
-294,6
+294,8
@@
if (mkws_config == null || typeof mkws_config != 'object') {
log("Service proxy auth successfully done");
mkws.authenticated = true;
+ mkws.authName = $(data).find("displayName").text();
+ log("authName='" + mkws.authName + "'");
runAutoSearches();
});
}