From ab7b5ba8dcd6d6e90343b1c382aada90f3680681 Mon Sep 17 00:00:00 2001 From: andrpet Date: Fri, 12 Feb 2016 11:21:45 +0100 Subject: [PATCH] deepclient fix --- js/deepClient.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/deepClient.js b/js/deepClient.js index 34fcc9e..ead4f9f 100755 --- a/js/deepClient.js +++ b/js/deepClient.js @@ -2,7 +2,7 @@ @license The MIT License (MIT) - Copyright (c) 2015 Dipartimento di Informatica - Università di Salerno - Italy + Copyright (c) 2015 Dipartimento di Informatica - Universit� di Salerno - Italy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -56,7 +56,7 @@ var ComponentService = params.fields[i] = params.fields[i].replace(/'/g,"#"); }*/ - datalet_code += " fields='" + JSON.stringify(params.fields) + "'>"; + datalet_code += " fields='" + JSON.stringify(params.fields).replace("'", "'") + "'>"; (params.placeHolder.constructor == HTMLElement || params.placeHolder.constructor == HTMLDivElement) ? $(params.placeHolder).html(datalet_code) :/*Injection from Web Component*/ $("#" + params.placeHolder).html(datalet_code);/*Injection from a static web page*/ -- libgit2 0.21.4