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
git-svn-id: https://svn.apache.org/repos/asf/rave/trunk@1561285 13f79535-47bb-0310-9956-ffa450edef68 Project: http://git-wip-us.apache.org/repos/asf/rave/repo Commit: http://git-wip-us.apache.org/repos/asf/rave/commit/902753cc Tree: http://git-wip-us.apache.org/repos/asf/rave/tree/902753cc Diff: http://git-wip-us.apache.org/repos/asf/rave/diff/902753cc Branch: refs/heads/angular Commit: 902753cc06f8e58ac24a116ad964bc422dab5cff Parents: 65d6c91 Author: Scott Wilson <[email protected]> Authored: Sat Jan 25 11:53:23 2014 +0000 Committer: Scott Wilson <[email protected]> Committed: Sat Jan 25 11:53:23 2014 +0000 ---------------------------------------------------------------------- .../src/main/webapp/static/script/core/rave_wookie.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/rave/blob/902753cc/rave-portal-resources/src/main/webapp/static/script/core/rave_wookie.js ---------------------------------------------------------------------- diff --git a/rave-portal-resources/src/main/webapp/static/script/core/rave_wookie.js b/rave-portal-resources/src/main/webapp/static/script/core/rave_wookie.js index 0f1a10e..4f3dc0b 100644 --- a/rave-portal-resources/src/main/webapp/static/script/core/rave_wookie.js +++ b/rave-portal-resources/src/main/webapp/static/script/core/rave_wookie.js @@ -48,7 +48,7 @@ define(['core/rave_openajax_hub', 'core/rave_state_manager'], function(managedHu frameborder: 0 }, uri: widget.widgetUrl, - onGadgetLoad: "onWidget"+widget.regionWidgetId+"Load" + onGadgetLoad: function(){window["onWidget"+widget.regionWidgetId+"Load"].call()} } } );
