From ac8ff426899c8ff2186add1f9b3b68d85ace244d Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Wed, 1 Dec 2010 17:49:10 +0100 Subject: [PATCH] Typo --- adminer/static/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/static/functions.js b/adminer/static/functions.js index 7f9f3b3c..96058c42 100644 --- a/adminer/static/functions.js +++ b/adminer/static/functions.js @@ -386,7 +386,7 @@ function bodyClick(event, db, ns) { if (/^a$/i.test(el.tagName) && !/^https?:|#/i.test(el.getAttribute('href')) && /[&?]username=/.exec(el.href)) { var match = /&db=([^&]*)/.exec(el.href); var match2 = /&ns=([^&]*)/.exec(el.href); - return !(db == (match ? match[1] : '') && scheme == (match2 ? match2[1] : '') && ajaxMain(el.href, '', event)); + return !(db == (match ? match[1] : '') && ns == (match2 ? match2[1] : '') && ajaxMain(el.href, '', event)); } if (/^input$/i.test(el.tagName) && /submit|image/.test(el.type) && el.name != 'logout' && !/&(database|scheme|create|view|sql|user)=/.test(location.href)) { return !ajaxForm(el.form, (el.name ? encodeURIComponent(el.name) + '=1' : ''));