Hi
Dne Fri, 16 May 2014 04:46:03 +0530
Dhananjay Nakrani <dhananjaynakrani(a)gmail.com> napsal(a):
Yes, indeed that would be an easier way. I looked for
the code relating to
it. I found that PMA_Footer::getErrorMessages() writes a div element with
as 'pma_errors' its id. I found that div to be present in response of
index.php.
But I could not find that div in the responses generated by other scripts
which are executed when user clicks on any of the tabs (Database, SQL,
Import, Export etc.). I also looked inside the data._errors in the
AJAX.responseHandler()
[0]. Is there anywhere else I should be looking instead??
It's IMHO included every time whole page (or rather whole main panel)
is being loaded. So for example when you switch the tabs. It is not
loaded when only part of content is being loaded. Anyway this should be
good enough.
--
Michal Čihař |
http://cihar.com |
http://blog.cihar.com