<div dir="ltr">Hi,<div>I see the code is showing behavior other than expected behavior at certain sections.</div><div>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.</div>
<div><br></div><div>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.</div><div><br></div><div>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.</div>
<div><br></div><div>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.</div></div><div class="gmail_extra"><br clear="all">
<div><div dir="ltr"><div><br></div><font color="#666666">Minhaz</font><div><font color="#666666"><a href="http://cistoner.org" target="_blank">cistoner.org</a></font></div></div></div>
<br><br><div class="gmail_quote">On Tue, Apr 22, 2014 at 5:04 PM, Michal Čihař <span dir="ltr"><<a href="mailto:michal@cihar.com" target="_blank">michal@cihar.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
Dne Mon, 21 Apr 2014 19:22:58 +0530<br>
Minhaz A V <<a href="mailto:minhazav@gmail.com">minhazav@gmail.com</a>> napsal(a):<br>
<div class=""><br>
> Currently confirm navigations works well with ajax, if there is some<br>
> unsubmitted form in the page.<br>
<br>
</div>No it does not work well - it asks for confirmation whenever there is<br>
something filled in in the form. What is true for many of our forms<br>
without user doing anything. Also it seems to ask for confirmation even<br>
when user is submitting form which he has just filled in (try something<br>
on table's Operations tab). I've just reverted commit causing these.<br>
<br>
PS: All the Jenkins failures were also caused by this, is anybody<br>
paying attention to these mails or they are just being ignored?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Michal Čihař | <a href="http://cihar.com" target="_blank">http://cihar.com</a> | <a href="http://phpmyadmin.net" target="_blank">http://phpmyadmin.net</a><br>
</font></span><br>------------------------------------------------------------------------------<br>
Start Your Social Network Today - Download eXo Platform<br>
Build your Enterprise Intranet with eXo Platform Software<br>
Java Based Open Source Intranet - Social, Extensible, Cloud Ready<br>
Get Started Now And Turn Your Intranet Into A Collaboration Platform<br>
<a href="http://p.sf.net/sfu/ExoPlatform" target="_blank">http://p.sf.net/sfu/ExoPlatform</a><br>_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
<br></blockquote></div><br></div>