mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-11 19:41:35 +00: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:
parent
1073445c70
commit
6564147b0a
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ script(type='text/ng-template', id='confirmChangePlanModalTemplate')
|
||||||
ng-click="cancel()"
|
ng-click="cancel()"
|
||||||
) #{translate("cancel")}
|
) #{translate("cancel")}
|
||||||
button.btn.btn-success(
|
button.btn.btn-success(
|
||||||
ng-disabled="state.inflight"
|
ng-disabled="inflight"
|
||||||
ng-click="confirmChangePlan()"
|
ng-click="confirmChangePlan()"
|
||||||
)
|
)
|
||||||
span(ng-hide="inflight") #{translate("change_plan")}
|
span(ng-hide="inflight") #{translate("change_plan")}
|
||||||
|
@ -147,7 +147,7 @@ script(type='text/ng-template', id='cancelPendingPlanChangeModalTemplate')
|
||||||
ng-click="cancel()"
|
ng-click="cancel()"
|
||||||
) #{translate("cancel")}
|
) #{translate("cancel")}
|
||||||
button.btn.btn-success(
|
button.btn.btn-success(
|
||||||
ng-disabled="state.inflight"
|
ng-disabled="inflight"
|
||||||
ng-click="confirmCancelPendingPlanChange()"
|
ng-click="confirmCancelPendingPlanChange()"
|
||||||
)
|
)
|
||||||
span(ng-hide="inflight") #{translate("revert_pending_plan_change")}
|
span(ng-hide="inflight") #{translate("revert_pending_plan_change")}
|
||||||
|
|
Loading…
Reference in a new issue