(Drupal 4.7.3). After creating several tables, the Table "Delete" function always attempts to delete the first table, no matter which table is being viewed when the Delete button is clicked. For example, when viewing table #4, clicking delete generates the following url: http://www.mysite.com/admin/tablemanager/tabledelete/2. If the delete is confirmed, table 2 is deleted rather than table 4 (in my case, table #2 is my first table - table #1 was deleted earlier).
Comments
Comment #1
pobster commentedErm, *cough* I suspect you're just being a bit thick... ;o)
The box at the top of your page is 'Table Operations' and the delete button present there co-ordinates with the table selected from the dropdown box... If you wish to delete the table you're viewing you need to click the link 'Delete THIS table' which is displayed next to 'Viewing Table...etc'
If it's not this (and I really suspect it is) then I can't reproduce it...
Pobster
PS. Please take NO offence from the first line of this post! :o)
Comment #2
pobster commentedJust to clarify why I think you're doing this... The dropdown box always displays your tables in order, hence will always revert to the first table.
For clarity I could always have the table operations fieldset collapsed by default if you think it's less confusing?
Pobster
Comment #3
pobster commentedComment #4
BayouBill commentedThanks for the explanation. It works as you described, so there's no bug after all. I do think, though, that the user interface is a bit confusing, since there are Delete and Edit buttons/links in two different places. If you collapse the Table Operations section by default, then it would not be obvious how to View a different table. Might it be better/less confusing/less prone to accidental deletion of the wrong table to eliminate the Delete and Edit buttons from Table Operations and require the user to View a table before Deleting or Editing it (by using those links in the View)? Just my dos centavos.
Comment #5
pobster commentedWell... Whilst I do see your gripe, you've really gotta ask yourself; its been like this for two years now... Is it *really* that unclear?
Pobster