Fix connection button status while connection is being established, fixes #134
This commit is contained in:
parent
5ae5907d11
commit
5ecb66a4ef
File diff suppressed because one or more lines are too long
@ -224,7 +224,7 @@
|
|||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<button type="submit" class="btn btn-block btn-primary">Connect</button>
|
<button type="submit" class="btn btn-block btn-primary open-connection">Connect</button>
|
||||||
<button type="reset" id="close_connection_window" class="btn btn-block btn-default">Cancel</button>
|
<button type="reset" id="close_connection_window" class="btn btn-block btn-default">Cancel</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -975,7 +975,7 @@ $(document).ready(function() {
|
|||||||
$("#connection_form").on("submit", function(e) {
|
$("#connection_form").on("submit", function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
var button = $(this).children("button");
|
var button = $(this).find("button.open-connection");
|
||||||
var params = {
|
var params = {
|
||||||
url: getConnectionString()
|
url: getConnectionString()
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user