]> git.joonet.de Git - adminer.git/commitdiff
Call onchange
authorJakub Vrana <jakub@vrana.cz>
Tue, 1 Feb 2011 13:11:25 +0000 (14:11 +0100)
committerJakub Vrana <jakub@vrana.cz>
Tue, 1 Feb 2011 13:11:25 +0000 (14:11 +0100)
adminer/static/functions.js

index ca2ddbc40a08a729d5d004db8ddc8f6e49bd307b..e5150e4d1a2c6df3c764eb75ab97e52fb9b47df6 100644 (file)
@@ -178,6 +178,7 @@ function textareaKeypress(target, event, tab, button) {
                }
        }
        if (event.ctrlKey && (event.keyCode == 13 || event.keyCode == 10) && !event.altKey && !event.metaKey) { // shiftKey allowed
+               target.blur();
                if (button) {
                        button.click();
                } else if (!target.form.onsubmit || target.form.onsubmit() !== false) {