Author: kien_nguyen
Date: 2011-02-16 22:43:40 -0500 (Wed, 16 Feb 2011)
New Revision: 5898
Modified:
portal/branches/branch-GTNPORTAL-1790/web/eXoResources/src/main/webapp/javascript/eXo/gadget/ExoBasedUserPrefStore.js
Log:
GTNPORTAL-1801 Throwing an error This application is not exist or may be deleted. when
setting a slow rss feed into a gadget preference
Modified:
portal/branches/branch-GTNPORTAL-1790/web/eXoResources/src/main/webapp/javascript/eXo/gadget/ExoBasedUserPrefStore.js
===================================================================
---
portal/branches/branch-GTNPORTAL-1790/web/eXoResources/src/main/webapp/javascript/eXo/gadget/ExoBasedUserPrefStore.js 2011-02-16
10:21:09 UTC (rev 5897)
+++
portal/branches/branch-GTNPORTAL-1790/web/eXoResources/src/main/webapp/javascript/eXo/gadget/ExoBasedUserPrefStore.js 2011-02-17
03:43:40 UTC (rev 5898)
@@ -31,6 +31,7 @@
gadgets.ExoBasedUserPrefStore.prototype.savePrefs = function(gadget, newPrefs) {
//TODO: dang.tung - sent event to portal
var prefs = eXo.core.JSON.stringify(newPrefs || gadget.userPrefs_);
+ prefs = encodeURIComponent(prefs);
var DOMUtil = eXo.core.DOMUtil;
var gadget = document.getElementById("gadget_" + gadget.id) ;
if(gadget != null ) {
Show replies by date