Changeset 661
- Timestamp:
- Dec 10, 2014 11:23:29 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/assets/js/frontend/lecture.js
r659 r661 7 7 } 8 8 if (first_visit == '1') { 9 if (update_user_info == "1") 9 10 if (p_id == 5) 10 11 { 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") 14 23 { 15 $('# alert-trial-services').modal('show');24 $('#update_user_info').modal({backdrop: 'static'}); 16 25 } 17 26 } 27 18 28 } 19 29 … … 31 41 { 32 42 $('#update_user_info').modal('hide'); 33 if (p_id == 5) 34 { 35 $('#alert-trial-services').modal('show'); 36 } 43 37 44 } 38 45 else … … 47 54 }); 48 55 }); 49 56 50 57 function showModal() { 51 58 console.log('Show modal!');
Note: See TracChangeset
for help on using the changeset viewer.