[Phpmyadmin-devel] Confirmation before tab close while inserting data on editing a column/data

I am wondering why doesn't phpmyadmin have a confirmation on close of tab or browser while the user in inserting/editing a column. It can be easily done by adding a piece of javascript code as in this fiddle http://jsfiddle.net/gopi1410/yWs7P/4/ -- - Gopi Ramena http://stackoverflow.com/users/1135703/gopi1410 http://careers.stackoverflow.com/gopi1410

Le 2012-06-03 14:50, Gopi Ramena a écrit :
I am wondering why doesn't phpmyadmin have a confirmation on close of tab or browser while the user in inserting/editing a column. It can be easily done by adding a piece of javascript code as in this fiddle http://jsfiddle.net/gopi1410/yWs7P/4/
Is it possible to integrate this in a jQuery way? -- Marc Delisle http://infomarc.info

On 4 June 2012 17:33, Marc Delisle <marc@infomarc.info> wrote:
Le 2012-06-03 14:50, Gopi Ramena a écrit :
I am wondering why doesn't phpmyadmin have a confirmation on close of tab or browser while the user in inserting/editing a column. It can be easily done by adding a piece of javascript code as in this fiddle http://jsfiddle.net/gopi1410/yWs7P/4/
Is it possible to integrate this in a jQuery way?
You mean something like this? http://jsfiddle.net/gopi1410/yWs7P/7/
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel

Le 2012-06-04 09:03, Gopi Ramena a écrit :
On 4 June 2012 17:33, Marc Delisle <marc@infomarc.info> wrote:
Le 2012-06-03 14:50, Gopi Ramena a écrit :
I am wondering why doesn't phpmyadmin have a confirmation on close of tab or browser while the user in inserting/editing a column. It can be easily done by adding a piece of javascript code as in this fiddle http://jsfiddle.net/gopi1410/yWs7P/4/
Is it possible to integrate this in a jQuery way?
You mean something like this? http://jsfiddle.net/gopi1410/yWs7P/7/
Yes. -- Marc Delisle http://infomarc.info
participants (2)
-
Gopi Ramena
-
Marc Delisle