Author: doll
Date: Fri Feb 22 14:55:58 2008
New Revision: 630346
URL: http://svn.apache.org/viewvc?rev=630346&view=rev
Log:
Also added escaping to enum.js
(Forgot this one in the last commit)
Modified:
incubator/shindig/trunk/features/opensocial-reference/enum.js
Modified: incubator/shindig/trunk/features/opensocial-reference/enum.js
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/opensocial-reference/enum.js?rev=630346&r1=630345&r2=630346&view=diff
==============================================================================
--- incubator/shindig/trunk/features/opensocial-reference/enum.js (original)
+++ incubator/shindig/trunk/features/opensocial-reference/enum.js Fri Feb 22
14:55:58 2008
@@ -80,7 +80,7 @@
* below.
*/
opensocial.Enum.prototype.getKey = function() {
- return this.key;
+ return gadgets.util.escapeString(this.key);
};
@@ -91,7 +91,7 @@
* @return {String} The enum's value.
*/
opensocial.Enum.prototype.getDisplayValue = function() {
- return this.displayValue;
+ return gadgets.util.escapeString(this.displayValue);
};