Branch: refs/heads/QA_4_7
Home:
https://github.com/phpmyadmin/phpmyadmin
Commit: 248a42af7efef7d54b446ccfaa25c99c7e6853ac
https://github.com/phpmyadmin/phpmyadmin/commit/248a42af7efef7d54b446ccfaa2…
Author: Michal Čihař <michal(a)cihar.com>
Date: 2017-03-01 (Wed, 01 Mar 2017)
Changed paths:
M ChangeLog
M js/console.js
M js/functions.js
Log Message:
-----------
Fixed javascript confirmation of dangerous queries
The confirmations did work properly only in console and not anywhere
else.
- the check function was expecting textarea, while it got text from
other calls
- the check for empty form was completely outdated, but that seems to
lead only to dead code and no breakage
- for the inline editor, the form was not properly focused and restored
on confirmation error
Signed-off-by: Michal Čihař <michal(a)cihar.com>