Author: lindner
Date: Fri Jun 5 23:36:36 2009
New Revision: 782167
URL: http://svn.apache.org/viewvc?rev=782167&view=rev
Log:
SHINDIG-423 | hardcoded fields in shindig container.js -- patch from Henning
Schmiedehausen
Modified:
incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js
Modified:
incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js?rev=782167&r1=782166&r2=782167&view=diff
==============================================================================
---
incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js
(original)
+++
incubator/shindig/trunk/features/src/main/javascript/features/opensocial-reference/container.js
Fri Jun 5 23:36:36 2009
@@ -502,7 +502,7 @@
};
opensocial.Container.escape = function(value, opt_params, opt_escapeObjects) {
- if (opt_params && opt_params['escapeType'] == 'none') {
+ if (opt_params &&
opt_params[opensocial.DataRequest.DataRequestFields.ESCAPE_TYPE] ==
opensocial.EscapeType.NONE) {
return value;
} else {
return gadgets.util.escape(value, opt_escapeObjects);