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:
ba2cb60
)
Remove redundant nested check.
author
Mike Taylor
<mike@indexdata.com>
Thu, 21 Aug 2014 15:48:01 +0000
(16:48 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 21 Aug 2014 15:48:01 +0000
(16:48 +0100)
src/mkws-core.js
patch
|
blob
|
history
diff --git
a/src/mkws-core.js
b/src/mkws-core.js
index
ce06367
..
73571cc
100644
(file)
--- a/
src/mkws-core.js
+++ b/
src/mkws-core.js
@@
-669,10
+669,8
@@
mkws.pagerNext = function(tname) {
}
var c = config.credentials;
if (c) {
- if (c) {
- s += ('&username=' + c.substr(0, c.indexOf('/')) +
- '&password=' + c.substr(c.indexOf('/')+1));
- }
+ s += ('&username=' + c.substr(0, c.indexOf('/')) +
+ '&password=' + c.substr(c.indexOf('/')+1));
}
mkws.log("generated sp_auth_url '" + s + "'");
return s;