<div dir="ltr">I have a better approach, We'll count the no of characters before an ajax load, and on event request count again and compare.<div>But should this cause selenium test to fail? is there any test case which should trigger the dialog where it is expected to trigger?  </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 Wed, Apr 23, 2014 at 7:17 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 Tue, 22 Apr 2014 17:16:35 +0530<br>
<div class="">Minhaz A V <<a href="mailto:minhazav@gmail.com">minhazav@gmail.com</a>> napsal(a):<br>
<br>
</div><div class="">> I was thinking this code could be modified to check if any input field was<br>
> changed from the value it was loaded with if some user try to perform ajax<br>
> operation or any operation that triggers onbeforeunload event.<br>
<br>
</div>Looks like a better approach. On page/ajax load the initial value would<br>
be stored in some data attribute and the trigger would then check it<br>
for change. Though there might be some javascript generated values not<br>
covered by this...<br>
<div class=""><br>
> AJAX code will go well in ajax.js while for onbeforeunload section, I'd add<br>
> an event listener to it in common.js as mentioned by Atul.<br>
><br>
> If you guys feel this feature should not exist in pma, I'd stop here on<br>
> this. Kindly let me know by night or I'll start writing :D, as I feel this<br>
> feature should be there.<br>
<br>
</div>This is indeed useful feature, but it should not block normal usage as<br>
the first implementation did.<br>
<div class=""><br>
> Also, is it possible to add a branch for this in pma, till this feature is<br>
> working well or I should come up with a whole working one in my fork before<br>
> I pull.<br>
<br>
</div>You can have branch in your fork, no need to add branch to upstream<br>
repository.<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://blog.cihar.com" target="_blank">http://blog.cihar.com</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>