Add warning when uploading a file

This commit is contained in:
Luis Ramos
2020-09-29 11:43:14 +01:00
parent be35f97622
commit 3b682bc47f
5 changed files with 49 additions and 5 deletions

View File

@@ -90,7 +90,3 @@ angular.module("admin.enterprises")
$scope.translation = (key) ->
t('js.admin.enterprises.form.images.' + key)
$scope.show_terms_and_conditions_warning = (event) ->
unless confirm("All your buyers will have to agree to the Terms and Conditions again at checkout. Are you sure?")
event.preventDefault()