CRM-14353 - Remove references to global_formNavigate
authorColeman Watts <coleman@civicrm.org>
Tue, 10 Jun 2014 13:45:05 +0000 (14:45 +0100)
committerColeman Watts <coleman@civicrm.org>
Tue, 10 Jun 2014 13:45:05 +0000 (14:45 +0100)
templates/CRM/Contact/Form/Edit/Individual.tpl

index 9b93a0e7c6270701f38c9223b5320c93692bc4de..e39301ae058722757d7dc5414d6e11e7635f50f4 100644 (file)
@@ -69,8 +69,7 @@ CRM.$(function($) {
       lastnameMsg = CRM.alert(msg, title);
       $('.matching-contacts-actions a').click(function(){
         // No confirmation dialog on click
-        global_formNavigate = true;
-        return true;
+        $('[data-warn-changes=true]').removeAttr('data-warn-changes');
       });
     });
   });