mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Hide upgrade modal on /account_mgmt
This commit is contained in:
parent
733890ec3f
commit
ffaea75c01
@ -176,6 +176,12 @@
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// show plan popupl when clicking 'Upgrade' in navbar
|
||||
function showUpgradeModal() {
|
||||
showChangePlan();
|
||||
}
|
||||
|
||||
function showChangePlan() {
|
||||
$('#changePlanModel').modal('show');
|
||||
}
|
||||
|
@ -369,7 +369,9 @@
|
||||
|
||||
@section('body')
|
||||
|
||||
@include('partials.upgrade_modal')
|
||||
@if ( ! Request::is('settings/account_management'))
|
||||
@include('partials.upgrade_modal')
|
||||
@endif
|
||||
|
||||
<nav class="navbar navbar-default navbar-fixed-top" role="navigation" style="height:60px;">
|
||||
|
||||
|
@ -177,12 +177,8 @@
|
||||
<script type="text/javascript">
|
||||
|
||||
function showUpgradeModal() {
|
||||
@if (Request::is('settings/account_management'))
|
||||
showChangePlan();
|
||||
@else
|
||||
$(window).scrollTop(0);
|
||||
$('#upgrade-modal').fadeIn();
|
||||
@endif
|
||||
}
|
||||
|
||||
function hideUpgradeModal() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user