Changeset 661


Ignore:
Timestamp:
Dec 10, 2014 11:23:29 AM (10 years ago)
Author:
quyenla
Message:

error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/assets/js/frontend/lecture.js

    r659 r661  
    77}
    88if (first_visit == '1') {
    9     if (update_user_info == "1")
     9
     10    if (p_id == 5)
    1011    {
    11         $('#update_user_info').modal({backdrop: 'static'});
    12     } else {
    13         if (p_id == 5)
     12        $('#alert-trial-services').modal('show');
     13        $('#alert-trial-services').on('hidden.bs.modal', function () {
     14            if (update_user_info == "1")
     15            {
     16                $('#update_user_info').modal({backdrop: 'static',keyboard: false,});
     17            }
     18        });
     19    }
     20    else
     21    {
     22        if (update_user_info == "1")
    1423        {
    15             $('#alert-trial-services').modal('show');
     24            $('#update_user_info').modal({backdrop: 'static'});
    1625        }
    1726    }
     27
    1828}
    1929
     
    3141            {
    3242                $('#update_user_info').modal('hide');
    33                 if (p_id == 5)
    34                 {
    35                     $('#alert-trial-services').modal('show');
    36                 }
     43
    3744            }
    3845            else
     
    4754    });
    4855});
    49  
     56
    5057function showModal() {
    5158    console.log('Show modal!');
Note: See TracChangeset for help on using the changeset viewer.