mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
Removing functionality from the update keys button
This makes the button do nothing but ultimately the issue is that the buttons should automatically update the database through AJAX or similar. This is a temporary fix so the Keys modal isn’t an outlier in design and doesn’t cause an error.
This commit is contained in:
@@ -274,7 +274,7 @@ $('#submit-key').click(function (e) {
|
||||
|
||||
$('#submit-keys').click(function (e) {
|
||||
e.preventDefault();
|
||||
updatekeys()
|
||||
$('#update-keys').modal('hide');
|
||||
});
|
||||
|
||||
$('#submit-tags').click(function (e) {
|
||||
|
||||
@@ -103,6 +103,7 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h3 class="chal-title text-center"></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
@@ -228,6 +229,7 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header text-center">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h3>Keys</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
@@ -250,6 +252,7 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header text-center">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h3>Files</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
@@ -276,6 +279,7 @@
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header text-center">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h3>Tags</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
Reference in New Issue
Block a user