mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
PR changes - erb to haml, don't update en_GB translations
This commit is contained in:
@@ -4,7 +4,7 @@ angular.module("admin.payments").controller "PaymentCtrl", ($scope, Payment, Sta
|
||||
$scope.StatusMessage = StatusMessage
|
||||
|
||||
$scope.submitPayment = () ->
|
||||
return false if $scope.submitted == true
|
||||
return false if $scope.submitted
|
||||
$scope.submitted = true
|
||||
StatusMessage.display 'progress', t("spree.admin.payments.source_forms.stripe.submitting_payment")
|
||||
Payment.purchase()
|
||||
|
||||
Reference in New Issue
Block a user