[Phpmyadmin-devel] multi-row delete

Hi list, When, browsing a table, I select multiple records by clicking the checkboxes. When clicking the red trashcan below the table, I get to the edit view for the selected records, but that's not what I expect when clicking a trashcan... ;-) Could someone have a look at this? Btw, welcome to the EU, Michal. :-) Regards, -- Alexander M. Turek <rabus@users.sourceforge.net> _ __ __ _ _ _ _ __ | |__ _ __ | \/ |_ _ / \ __| |_ __ ___ (_)_ __ | '_ \| '_ \| '_ \| |\/| | | | | / _ \ / _` | '_ ` _ \| | '_ \ | |_) | | | | |_) | | | | |_| |/ ___ \ (_| | | | | | | | | | | | .__/|_| |_| .__/|_| |_|\__, /_/ \_\__,_|_| |_| |_|_|_| |_| |_| |_| |___/ <http://www.phpmyadmin.net>

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all On Sunday 02 of May 2004 19:21, Alexander M. Turek wrote:
When, browsing a table, I select multiple records by clicking the checkboxes. When clicking the red trashcan below the table, I get to the edit view for the selected records, but that's not what I expect when clicking a trashcan... ;-) Could someone have a look at this?
I guess this has something to do with change of texts on buttons. Garvin? :-)
Btw, welcome to the EU, Michal. :-)
Thanks, now everything will be better :-) - -- Regards Michal Čihař http://cihar.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAlURa3DVS6DbnVgQRAs+TAKCAVIxJF/bWisuAgEtyv1uU+u+hHACg+Eqy ZTKyUY8JsnzBpt4hGwzKmgE= =6ei+ -----END PGP SIGNATURE-----

Michal Čihař a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi all
On Sunday 02 of May 2004 19:21, Alexander M. Turek wrote:
When, browsing a table, I select multiple records by clicking the checkboxes. When clicking the red trashcan below the table, I get to the edit view for the selected records, but that's not what I expect when clicking a trashcan... ;-) Could someone have a look at this?
I guess this has something to do with change of texts on buttons. Garvin? :-)
The bug was introduced in tbl_row_delete.php version 2.9. In the new switch(), the "default" at line 37 modifies $submit_mult to 'row_edit' even when it contains 'row_delete'. I don't know the goal of this default. If we still need it, we could add this before it: case 'row_export': case 'row_edit': case 'row_delete': break; Marc
participants (3)
-
Alexander M. Turek
-
Marc Delisle
-
Michal Čihař