Author: doll
Date: Wed Jul 23 17:14:27 2008
New Revision: 679242
URL: http://svn.apache.org/viewvc?rev=679242&view=rev
Log:
Fixed bug in .7 to .8 conversion file.
Modified:
incubator/shindig/trunk/features/opensocial-0.7/opensocial7to8.js
Modified: incubator/shindig/trunk/features/opensocial-0.7/opensocial7to8.js
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/opensocial-0.7/opensocial7to8.js?rev=679242&r1=679241&r2=679242&view=diff
==============================================================================
--- incubator/shindig/trunk/features/opensocial-0.7/opensocial7to8.js (original)
+++ incubator/shindig/trunk/features/opensocial-0.7/opensocial7to8.js Wed Jul
23 17:14:27 2008
@@ -42,7 +42,7 @@
= opensocial.ResponseItem.prototype.getData;
opensocial.ResponseItem.prototype.getData = function() {
var oldData = this.getDataOld();
- if (this.getOriginalDataRequest().isActivityRequest) {
+ if (this.getOriginalDataRequest() &&
this.getOriginalDataRequest().isActivityRequest) {
// The fetch activities request used to have an extra pointer to
// the activities
return {'activities' : oldData};