Skip to content

Commit

Permalink
CRM-21304 quash form reload message when refreshing
Browse files Browse the repository at this point in the history
civicrm#11122

Bug:T177873
Change-Id: Ib3cbb754b77720687fcb47f53e02bf798f751dfb
  • Loading branch information
eileenmcnaughton committed Feb 1, 2018
1 parent 292e9db commit 849853f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions templates/CRM/Contact/Page/DedupeFind.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
{literal}
<script type="text/javascript">
(function($) {
$('[data-warn-changes=true]').attr('data-warn-changes', 'false');
CRM.$('table#dupePairs').data({
"ajax": {
"url": {/literal}'{$sourceUrl}'{literal}
Expand All @@ -195,10 +196,6 @@
}
});
$(function($) {
$('.button').click(function() {
// no unsaved changes confirmation dialogs
$('[data-warn-changes=true]').attr('data-warn-changes', 'false');
});
var sourceUrl = {/literal}'{$sourceUrl}'{literal};
var context = {/literal}'{$context}'{literal};
Expand Down

0 comments on commit 849853f

Please sign in to comment.