Module: check_mk
Branch: master
Commit: 679df44b3812275965466882dd609934785969a8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=679df44b381227…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Wed Oct 29 14:23:30 2014 +0100
JavaScript Page refresh: Not longer skip _username and _secret
---
web/htdocs/js/checkmk.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/js/checkmk.js b/web/htdocs/js/checkmk.js
index a5e2359..5e9d4b9 100644
--- a/web/htdocs/js/checkmk.js
+++ b/web/htdocs/js/checkmk.js
@@ -414,7 +414,7 @@ function makeuri(addvars) {
// Skip unwanted parmas
for(var i = 0; i < tmp.length; i++) {
pair = tmp[i].split('=');
- if(pair[0][0] == '_') // Skip _<vars>
+ if(pair[0][0] == '_' && pair[0] != "_username"
&& pair[0] != "_secret") // Skip _<vars>
continue;
if(addvars.hasOwnProperty(pair[0])) // Skip vars present in addvars
continue;