[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 248a42: Fixed javascript confirmation of dangerous queries

Michal Čihař michal at cihar.com
Wed Mar 1 09:35:43 CET 2017

  Branch: refs/heads/QA_4_7
  Home:   https://github.com/phpmyadmin/phpmyadmin
  Commit: 248a42af7efef7d54b446ccfaa25c99c7e6853ac
  Author: Michal Čihař <michal at 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

- 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 at cihar.com>

More information about the Git mailing list