|
|
@ -1343,6 +1343,8 @@ function initInterfaceCommon() { |
|
|
|
closeModal(); |
|
|
|
closeModal(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('.modal-back').on('click', function() {history.back();}); |
|
|
|
|
|
|
|
|
|
|
|
$('.prompt-close').on('click', function(e) { |
|
|
|
$('.prompt-close').on('click', function(e) { |
|
|
|
e.stopPropagation(); |
|
|
|
e.stopPropagation(); |
|
|
|
closeModalHandler('.prompt-wrapper'); |
|
|
|
closeModalHandler('.prompt-wrapper'); |
|
|
@ -1460,6 +1462,9 @@ $(document).ready(function() |
|
|
|
initInterfaceLogin(); |
|
|
|
initInterfaceLogin(); |
|
|
|
} else if (page.indexOf("network.html") === 0) { |
|
|
|
} else if (page.indexOf("network.html") === 0) { |
|
|
|
initInterfaceNetwork(); |
|
|
|
initInterfaceNetwork(); |
|
|
|
|
|
|
|
} else if (page.indexOf('options.html') === 0) { |
|
|
|
|
|
|
|
initInterfaceCommon(); |
|
|
|
|
|
|
|
$.Options.initControls(); |
|
|
|
} else if (page.indexOf("profile-edit.html") === 0) { |
|
|
|
} else if (page.indexOf("profile-edit.html") === 0) { |
|
|
|
initProfileEdit(); |
|
|
|
initProfileEdit(); |
|
|
|
} |
|
|
|
} |
|
|
|