Skip to content

Commit

Permalink
Merge pull request #25 from damo-veda/master
Browse files Browse the repository at this point in the history
Added the fix related to the ticket: #24
  • Loading branch information
rajeshrhino authored Nov 19, 2020
2 parents 3e35af6 + 3d94461 commit bd557e6
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 bd557e6

Please sign in to comment.