[Phpmyadmin-devel] Confirm navigation for non ajax reloads

Atul Pratap Singh atulpratapsingh05 at gmail.com
Tue Apr 22 13:53:50 CEST 2014


On Tue, Apr 22, 2014 at 5:16 PM, Minhaz A V <minhazav at gmail.com> wrote:

> Hi,
> I see the code is showing behavior other than expected behavior at certain
> sections.
> I was thinking this code could be modified to check if any input field was
> changed from the value it was loaded with if some user try to perform ajax
> operation or any operation that triggers onbeforeunload event.
>
> AJAX code will go well in ajax.js while for onbeforeunload section, I'd
> add an event listener to it in common.js as mentioned by Atul.
>
> If you guys feel this feature should not exist in pma, I'd stop here on
> this. Kindly let me know by night or I'll start writing :D, as I feel this
> feature should be there.
>
> Also, is it possible to add a branch for this in pma, till this feature is
> working well or I should come up with a whole working one in my fork before
> I pull.
>
> About a separate branch, it is not meant to be created in main PMA
repository, instead you can create a new branch out of master in your local
repo and push it to your github account for public review, then you can
open a pull request from your branch to the main PMA repo's master branch
when it's all done.


-- 
Atul Pratap Singh
http://blog.atulsisodia.in/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20140422/83eac2fa/attachment.html>


More information about the Developers mailing list