From: Coleman Watts Date: Wed, 4 Nov 2015 22:15:01 +0000 (-0500) Subject: CRM-17493 - Fix datatable when popup forms disabled X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6d181d0e45399a52c9f38b6b299044b6de4d6239;p=civicrm-core.git CRM-17493 - Fix datatable when popup forms disabled --- diff --git a/templates/CRM/Custom/Page/Option.tpl b/templates/CRM/Custom/Page/Option.tpl index befad67b41..e71cc2dcc9 100644 --- a/templates/CRM/Custom/Page/Option.tpl +++ b/templates/CRM/Custom/Page/Option.tpl @@ -58,7 +58,7 @@ function buildOptions() { var sourceUrl = {/literal}'{crmURL p="civicrm/ajax/optionlist" h=0 q="snippet=4&fid=$fid&gid=$gid"}'{literal}; - var $context = $('.crm-ajax-container'); + var $context = $('.crm-container'); var ZeroRecordText = {/literal}'{ts escape="js"}None found.{/ts}'{literal}; crmOptionSelector = $('table.crm-option-selector', $context).dataTable({