Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRouslan Placella <rouslan@placella.com>2012-08-17 23:08:30 +0400
committerRouslan Placella <rouslan@placella.com>2012-10-31 00:24:01 +0400
commitbb2d1f13def9410d01b15bfc593cc67120b4abec (patch)
tree6ecc12720b196d26905a1c859cd7d88ee4271085 /js/common.js
parentac661158de9261e88e384d776b61b4b443a414fc (diff)
Fixed mixup which happened due to a complex rebase
Diffstat (limited to 'js/common.js')
-rw-r--r--js/common.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/common.js b/js/common.js
index b5654e3fd7..4e2cdb9700 100644
--- a/js/common.js
+++ b/js/common.js
@@ -135,13 +135,14 @@ var PMA_commonActions = {
*
* @return void
*/
- refreshMain: function (url) {
+ refreshMain: function (url, callback) {
if (! url) {
url = $('#selflink a').attr('href');
url = url.substring(0, url.indexOf('?'));
}
url += PMA_commonParams.getUrlQuery();
$('<a />', {href: url}).click();
+ AJAX._callback = callback;
}
};