From fe741d85712e0a3af726212f2fb3b9f6ef6e81f0 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 24 Dec 2012 09:10:20 -0500 Subject: [PATCH] Add missing server parameter in the generated URL --- js/common.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/common.js b/js/common.js index a5801fc110..54ae5b8ed8 100644 --- a/js/common.js +++ b/js/common.js @@ -81,8 +81,9 @@ var PMA_commonParams = (function () { */ getUrlQuery: function () { return $.sprintf( - '?%s&db=%s&table=%s', + '?%s&server=%s&db=%s&table=%s', this.get('common_query'), + encodeURIComponent(this.get('server')), encodeURIComponent(this.get('db')), encodeURIComponent(this.get('table')) );