Change /info endpoint to /connection

This commit is contained in:
Dan Sosedoff
2014-12-02 21:20:04 -06:00
parent 2c2b6393c0
commit 403701b258
4 changed files with 145 additions and 144 deletions

View File

@@ -199,7 +199,7 @@ function showQueryPanel() {
function showConnectionPanel() {
setCurrentTab("table_connection");
apiCall("get", "/info", {}, function(data) {
apiCall("get", "/connection", {}, function(data) {
var rows = [];
for(key in data) {
@@ -498,7 +498,7 @@ $(document).ready(function() {
initEditor();
addShortcutTooltips();
apiCall("get", "/info", {}, function(resp) {
apiCall("get", "/connection", {}, function(resp) {
if (resp.error) {
connected = false;
showConnectionSettings();