Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Commit

Permalink
CAL-1314 the view of the attached image doesn't work (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker committed Feb 16, 2018
1 parent 6be08a0 commit fcfd695
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -17,10 +17,11 @@
def requirejs = _ctx.getRequestContext().getJavascriptManager().getRequireJS();
requirejs.require("PORTLET/calendar/CalendarPortlet","cal");
requirejs.require("SHARED/jquery","gj");
requirejs.require("SHARED/UIEventPreview","UIEventPreview");
requirejs.addScripts("gj('#UIEventPreview_fullSize').click(function() { cal.UICalendarPortlet.toggleEventPreview(this); });");
requirejs.addScripts("gj('a#UIEventPreview_1').click(function() {cal.UICalendarPortlet.showImagePreview(this); });");
requirejs.addScripts("gj('#closeButton').click(function() { cal.UIEventPreview.closeImagePreview(this); }); ");
requirejs.addScripts("gj('.viewIconContainer').click(function() { cal.UIEventPreview.clickOnViewIconContainer(this); });");
requirejs.addScripts("gj('#closeButton').click(function() { UIEventPreview.closeImagePreview(this); }); ");
requirejs.addScripts("gj('.viewIconContainer').click(function() { UIEventPreview.clickOnViewIconContainer(this); });");
requirejs.addScripts("cal.UICalendarPortlet.loadTitle();");
def resizable = "";
if (uicomponent.isShowPopup()) {
Expand Down

0 comments on commit fcfd695

Please sign in to comment.