[Phpmyadmin-devel] Confirm navigation for non ajax reloads
Minhaz A V
minhazav at gmail.com
Tue Apr 22 13:46:35 CEST 2014
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.
Minhaz
cistoner.org
On Tue, Apr 22, 2014 at 5:04 PM, Michal Čihař <michal at cihar.com> wrote:
> Hi
>
> Dne Mon, 21 Apr 2014 19:22:58 +0530
> Minhaz A V <minhazav at gmail.com> napsal(a):
>
> > Currently confirm navigations works well with ajax, if there is some
> > unsubmitted form in the page.
>
> No it does not work well - it asks for confirmation whenever there is
> something filled in in the form. What is true for many of our forms
> without user doing anything. Also it seems to ask for confirmation even
> when user is submitting form which he has just filled in (try something
> on table's Operations tab). I've just reverted commit causing these.
>
> PS: All the Jenkins failures were also caused by this, is anybody
> paying attention to these mails or they are just being ignored?
>
> --
> Michal Čihař | http://cihar.com | http://phpmyadmin.net
>
>
> ------------------------------------------------------------------------------
> Start Your Social Network Today - Download eXo Platform
> Build your Enterprise Intranet with eXo Platform Software
> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> Get Started Now And Turn Your Intranet Into A Collaboration Platform
> http://p.sf.net/sfu/ExoPlatform
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20140422/069d2c3f/attachment.html>
More information about the Developers
mailing list