Repository: rave Updated Branches: refs/heads/master aab1719e5 -> eaec64307
RAVE-1087 | Dragging and dropping an OpenSocial gadget causes its iframe contents to disappear Project: http://git-wip-us.apache.org/repos/asf/rave/repo Commit: http://git-wip-us.apache.org/repos/asf/rave/commit/c291ac2f Tree: http://git-wip-us.apache.org/repos/asf/rave/tree/c291ac2f Diff: http://git-wip-us.apache.org/repos/asf/rave/diff/c291ac2f Branch: refs/heads/master Commit: c291ac2fc9cb444f686df493053698f7e87f1470 Parents: aab1719 Author: Stanton Sievers <[email protected]> Authored: Mon Aug 11 10:59:23 2014 -0400 Committer: Stanton Sievers <[email protected]> Committed: Mon Aug 11 10:59:23 2014 -0400 ---------------------------------------------------------------------- .../src/main/webapp/static/script/portal/rave_ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/rave/blob/c291ac2f/rave-portal-resources/src/main/webapp/static/script/portal/rave_ui.js ---------------------------------------------------------------------- diff --git a/rave-portal-resources/src/main/webapp/static/script/portal/rave_ui.js b/rave-portal-resources/src/main/webapp/static/script/portal/rave_ui.js index 61bb950..6f6e709 100644 --- a/rave-portal-resources/src/main/webapp/static/script/portal/rave_ui.js +++ b/rave-portal-resources/src/main/webapp/static/script/portal/rave_ui.js @@ -232,7 +232,7 @@ define(["jquery", "underscore", "rave", uiState.currentRegion = ravePortal.getObjectIdFromDomId(ui.item.parent().get(0).id); // Workaround for SHINDIG-1965 to keep the iframe re-parenting from firing the load events again - $(widgetEl).find('iframe').removeAttr('onload'); + $(widgetEl).find('iframe').get(0).onload = function() {}; //for every drag operation, create an overlay for each iframe //to prevent the iframe from intercepting mouse events
