This commit is contained in:
@@ -66,7 +66,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<button class="btn btn-lg btn-primary btn-block" type="submit" id="vpn_save_btn"> Save </button>
|
<button class="btn btn-lg btn-primary btn-block" type="submit" id="vpn_save_btn"> Save </button>
|
||||||
|
<button class="btn btn-lg btn-primary btn-block" type="button" id="vpn_cancel_btn"> Cancel </button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
@@ -472,6 +473,10 @@ jQuery(document).ready(function(){
|
|||||||
jQuery('#settings').hide();
|
jQuery('#settings').hide();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
jQuery('#vpn_cancel_btn').click(function() {
|
||||||
|
jQuery('#vpn').hide();
|
||||||
|
});
|
||||||
|
|
||||||
jQuery('#update_btn').click(function() {
|
jQuery('#update_btn').click(function() {
|
||||||
jQuery('#updates').html('Looking for updates... Please wait...');
|
jQuery('#updates').html('Looking for updates... Please wait...');
|
||||||
get_updates();
|
get_updates();
|
||||||
|
Reference in New Issue
Block a user