Skip to content

Commit

Permalink
Added the fix related to the ticket: veda-consulting-company#24
Browse files Browse the repository at this point in the history
  • Loading branch information
Damodharan committed Nov 19, 2020
1 parent 30b90cc commit 3d94461
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions templates/CRM/NcnCiviZoom/Event/Form/ManageEvent/Extra.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
$("<span id='msgbox_webinar' style='display:none'></span>").insertAfter($("input[name^='{/literal}{$customIdWebinar}{literal}']"));
Expand Down

0 comments on commit 3d94461

Please sign in to comment.