Hide upgrade modal on /account_mgmt
This commit is contained in:
parent
733890ec3f
commit
ffaea75c01
3 changed files with 11 additions and 7 deletions
|
|
@ -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
|
||||
$(window).scrollTop(0);
|
||||
$('#upgrade-modal').fadeIn();
|
||||
}
|
||||
|
||||
function hideUpgradeModal() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue