From ee28892468a6805b619b4b0863e96cc0275cf63f Mon Sep 17 00:00:00 2001 From: Laryn Date: Tue, 30 Jun 2015 16:50:45 -0500 Subject: [PATCH] Add warning about backing up database This was just a suggestion as per this discussion: http://civicrm.stackexchange.com/questions/3644/error-uploading-civicrm-contacts-can-i-revert --- templates/CRM/Contact/Import/Form/Preview.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Contact/Import/Form/Preview.tpl b/templates/CRM/Contact/Import/Form/Preview.tpl index a144d46331..e70f2e91bf 100644 --- a/templates/CRM/Contact/Import/Form/Preview.tpl +++ b/templates/CRM/Contact/Import/Form/Preview.tpl @@ -47,7 +47,7 @@ function pollLoop( ){ } function verify( ) { - if (! confirm('{/literal}{ts escape='js'}Are you sure you want to Import now{/ts}{literal}?') ) { + if (! confirm('Backing up your database before importing is recommended, as there is no Undo for this. {/literal}{ts escape='js'}Are you sure you want to Import now{/ts}{literal}?') ) { return false; } -- 2.25.1