From 3d944613041e9cb636e50429a9ca4c937f8df3f0 Mon Sep 17 00:00:00 2001 From: Damodharan Date: Thu, 19 Nov 2020 11:01:50 +0000 Subject: [PATCH] Added the fix related to the ticket: #24 --- .../CRM/NcnCiviZoom/Event/Form/ManageEvent/Extra.tpl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/templates/CRM/NcnCiviZoom/Event/Form/ManageEvent/Extra.tpl b/templates/CRM/NcnCiviZoom/Event/Form/ManageEvent/Extra.tpl index 534d42d..e2f2712 100644 --- a/templates/CRM/NcnCiviZoom/Event/Form/ManageEvent/Extra.tpl +++ b/templates/CRM/NcnCiviZoom/Event/Form/ManageEvent/Extra.tpl @@ -21,8 +21,18 @@ CRM.$(function($) { $( document ).ajaxComplete(function(event, xhr, settings) { var Url = settings.url; if (Url.indexOf("custom") >= 0) { + //Moving the zoom account id above the Meeting Id field + $("input[name^='{/literal}{$accountId}{literal}']").parent().parent().insertBefore($("input[name^='{/literal}{$customIdMeeting}{literal}']").parent().parent()); + + //Moving the zoom account id above the Webinar Id field + $("input[name^='{/literal}{$accountId}{literal}']").parent().parent().insertBefore($("input[name^='{/literal}{$customIdWebinar}{literal}']").parent().parent()); + + //Adding the styles for Zoom Account list field $("#zoom_account_list_full").css({"margin-left":"30px" , "width": "300px"}); + + //Hiding the Account Id field $("#zoom_account_list_full").insertBefore($("input[name^='{/literal}{$accountId}{literal}']").parent().parent()); + $("input[name^='{/literal}{$accountId}{literal}']").parent().parent().hide(); //Adding message box to webinar custom field $("").insertAfter($("input[name^='{/literal}{$customIdWebinar}{literal}']"));