]> git.joonet.de Git - adminer.git/commitdiff
Typo
authorJakub Vrana <jakub@vrana.cz>
Wed, 1 Dec 2010 16:49:10 +0000 (17:49 +0100)
committerJakub Vrana <jakub@vrana.cz>
Wed, 1 Dec 2010 16:49:10 +0000 (17:49 +0100)
adminer/static/functions.js

index 7f9f3b3cdedf475c92acd54a2e69aa06531c854e..96058c42b5f97511bb9af6f1cb719bf6c4864a60 100644 (file)
@@ -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' : ''));