mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 02:51:57 +02:00
Merge pull request #8142 from overleaf/tm-fix-recurly-double-submission
Fix plan change buttons not being disabled while request inflight GitOrigin-RevId: a87c89ce6c9642a7988e2dfcc7ee6e3673c6128d
This commit is contained in:
@@ -128,7 +128,7 @@ script(type='text/ng-template', id='confirmChangePlanModalTemplate')
|
||||
ng-click="cancel()"
|
||||
) #{translate("cancel")}
|
||||
button.btn.btn-success(
|
||||
ng-disabled="state.inflight"
|
||||
ng-disabled="inflight"
|
||||
ng-click="confirmChangePlan()"
|
||||
)
|
||||
span(ng-hide="inflight") #{translate("change_plan")}
|
||||
@@ -147,7 +147,7 @@ script(type='text/ng-template', id='cancelPendingPlanChangeModalTemplate')
|
||||
ng-click="cancel()"
|
||||
) #{translate("cancel")}
|
||||
button.btn.btn-success(
|
||||
ng-disabled="state.inflight"
|
||||
ng-disabled="inflight"
|
||||
ng-click="confirmCancelPendingPlanChange()"
|
||||
)
|
||||
span(ng-hide="inflight") #{translate("revert_pending_plan_change")}
|
||||
|
||||
Reference in New Issue
Block a user