From 0d5b0012300a89d567ccf216652ddef4a813b46b Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@jalin.de>
Date: Wed, 14 Jan 2015 12:21:18 +0100
Subject: [PATCH] parse JS-String values

---
 hsarjcli/resource/js/functions.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/hsarjcli/resource/js/functions.js b/hsarjcli/resource/js/functions.js
index 94dafa3..1a5edb9 100644
--- a/hsarjcli/resource/js/functions.js
+++ b/hsarjcli/resource/js/functions.js
@@ -33,6 +33,9 @@
 }
 
 function hsaParseParamObject(o) {
+	if (typeof o === 'object' && o.constructor === String) { 
+		return o; 
+	}
 	var hsh = new HashMap();
 	for (var key in o) {
 		var val = o[key];

--
Gitblit v1.9.0-SNAPSHOT