You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by wi...@apache.org on 2013/12/04 14:39:40 UTC
git commit: MARMOTTA-358: applied patch from Oliver Janner
Updated Branches:
refs/heads/develop ae58e2f48 -> a71ac3669
MARMOTTA-358: applied patch from Oliver Janner
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/a71ac366
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/a71ac366
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/a71ac366
Branch: refs/heads/develop
Commit: a71ac36692dd37bbed3f78b9c608f72b9890eeed
Parents: ae58e2f
Author: Sergio Fernández <wi...@apache.org>
Authored: Wed Dec 4 14:39:23 2013 +0100
Committer: Sergio Fernández <wi...@apache.org>
Committed: Wed Dec 4 14:39:23 2013 +0100
----------------------------------------------------------------------
.../web/public/js/widgets/configurator/configurator.coffee | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/marmotta/blob/a71ac366/platform/marmotta-core/src/main/coffeescript/web/public/js/widgets/configurator/configurator.coffee
----------------------------------------------------------------------
diff --git a/platform/marmotta-core/src/main/coffeescript/web/public/js/widgets/configurator/configurator.coffee b/platform/marmotta-core/src/main/coffeescript/web/public/js/widgets/configurator/configurator.coffee
index b2ec849..ee3c026 100644
--- a/platform/marmotta-core/src/main/coffeescript/web/public/js/widgets/configurator/configurator.coffee
+++ b/platform/marmotta-core/src/main/coffeescript/web/public/js/widgets/configurator/configurator.coffee
@@ -545,7 +545,7 @@ class Client
str = "{"
for value,index in data
v = '"'+value.getValue()+'"'
- if (value.getValue().split(",").length > 1)
+ if ((typeof value.getValue() != "boolean") && (value.getValue().split(",").length > 1))
x = value.getValue().split(",")
v = "["
for val,i in x
@@ -554,7 +554,6 @@ class Client
v += ','
v += "]"
-
str += '"'+value.key + '":'+v
str += "," if index < data.length-1
str += "}"