mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-17 00:07:24 +00:00
Add warning when uploading a file
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user