Fix connection button status while connection is being established, fixes #134

This commit is contained in:
Dan Sosedoff 2016-02-20 21:03:35 -06:00
parent 5ae5907d11
commit 5ecb66a4ef
3 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -224,7 +224,7 @@
<div class="form-group">
<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>
</div>
</div>

View File

@ -975,7 +975,7 @@ $(document).ready(function() {
$("#connection_form").on("submit", function(e) {
e.preventDefault();
var button = $(this).children("button");
var button = $(this).find("button.open-connection");
var params = {
url: getConnectionString()
};