Updated Branches: refs/heads/maintenance-3.1.x 06fba046d -> 3ba8b9148
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/3ba8b914 Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/3ba8b914 Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/3ba8b914 Branch: refs/heads/maintenance-3.1.x Commit: 3ba8b9148c0c45d7e472256cbe413c7a64b13ac4 Parents: 06fba04 Author: Sergio Fernández <[email protected]> Authored: Wed Dec 4 14:39:23 2013 +0100 Committer: Sergio Fernández <[email protected]> Committed: Wed Dec 4 14:46:59 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/3ba8b914/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 += "}"
