shindig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddum...@apache.org
Subject svn commit: r1211606 - /shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements.js
Date Wed, 07 Dec 2011 19:21:11 GMT
Author: ddumont
Date: Wed Dec  7 19:21:10 2011
New Revision: 1211606

URL: http://svn.apache.org/viewvc?rev=1211606&view=rev
Log:
SHINDIG-1664 Should have been call instead of apply for openUrl.

Modified:
    shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements.js

Modified: shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements.js
URL: http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements.js?rev=1211606&r1=1211605&r2=1211606&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements.js (original)
+++ shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements.js Wed
Dec  7 19:21:10 2011
@@ -121,7 +121,7 @@ gadgets['window'] = gadgets['window'] ||
    */
   gadgets.views.openUrl = function(url, navigateCallback, opt_viewTarget) {
     gadgets.rpc.call('..', 'gadgets.views.openUrl', function(result) {
-        navigateCallback.apply(this, result);
+        navigateCallback.call(this, result);
       }, url, opt_viewTarget
     );
   }



Mime
View raw message