Author: scottbw
Date: Sat Jan 25 11:53:23 2014
New Revision: 1561285

URL: http://svn.apache.org/r1561285
Log:
fix for RAVE-1089. Passes a function wrapper with a call to the widgetOnLoad 
function rather than just the function name, to display rendered W3C widgets

Modified:
    
rave/trunk/rave-portal-resources/src/main/webapp/static/script/core/rave_wookie.js

Modified: 
rave/trunk/rave-portal-resources/src/main/webapp/static/script/core/rave_wookie.js
URL: 
http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/static/script/core/rave_wookie.js?rev=1561285&r1=1561284&r2=1561285&view=diff
==============================================================================
--- 
rave/trunk/rave-portal-resources/src/main/webapp/static/script/core/rave_wookie.js
 (original)
+++ 
rave/trunk/rave-portal-resources/src/main/webapp/static/script/core/rave_wookie.js
 Sat Jan 25 11:53:23 2014
@@ -48,7 +48,7 @@ define(['core/rave_openajax_hub', 'core/
                             frameborder: 0
                         },
                         uri: widget.widgetUrl,
-                        onGadgetLoad: "onWidget"+widget.regionWidgetId+"Load"
+                        onGadgetLoad: 
function(){window["onWidget"+widget.regionWidgetId+"Load"].call()}
                     }
                 }
             );


Reply via email to