Skip to content

Commit

Permalink
#103 Ability to save connections more reliably
Browse files Browse the repository at this point in the history
  • Loading branch information
evangallup committed Jun 2, 2020
1 parent 1020bfa commit 6eea21b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/login_screen.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,14 @@ class LoginScreen {
this.fillForm({host: "localhost", user: "", password: "", database: "", port: ""});
this.standardForm.form.find('[name=host]').focus();
this.standardForm.setButtonShown(true);
this.urlForm.setButtonShown(true);
var data = {
type: 'url',
url: null,
auto_connect: false
};
Model.SavedConn.saveConnection('**new**', data);
this.fillSavedConnections();
}

fillForm (params) {
Expand Down

0 comments on commit 6eea21b

Please sign in to comment.