[Phpmyadmin-devel] Confirm navigation for non ajax reloads

Atul Pratap Singh atulpratapsingh05 at gmail.com
Mon Apr 21 18:41:14 CEST 2014


On 4/21/14, Minhaz A V <minhazav at gmail.com> wrote:
> Hi,
> Currently confirm navigations works well with ajax, if there is some
> unsubmitted form in the page. But I was thinking this confirm dialog should
> trigger for similar case if a user accidently press backspace, reloads or
> perform some operation that results in new page load. I have written the
> script but I couldn't get which is the perfect js file for adding this
> feature.
> Can anyone help me here?
I guess common.js or ajax.js may be appropriate for adding the
relevant code, if that is what you were asking? Also, documentation
contained at [0] and [1] may help.


[0] http://wiki.phpmyadmin.net/pma/Page_loader
[1] http://wiki.phpmyadmin.net/pma/Microhistory


-- 
Atul Pratap Singh
http://blog.atulsisodia.in/




More information about the Developers mailing list