Closed (fixed)
Project:
Flag
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2012 at 12:22 UTC
Updated:
13 Sep 2012 at 19:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
kid_icarus commentedHere's my first crack at it :)
Comment #2
joachim commentedLooks good!
I tried this and it works perfectly. Except when I added one flag, I realized we should change things in that case too -- compare with the vocabulary admin page.
Here's a patch that extends the work you've done.
Comment #4
joachim commentedAh I see what went wrong there.
Comment #5
kid_icarus commentedLooks good to me, I see what you did with the entire logic changing to "if there's more than one". Totally sensible.
Comment #6
joachim commentedCommitted. Thanks for your help!
Issue #1726806 by kid_icarus, joachim: Fixed 'save flag order' button and flag weight showing when there are fewer than 2 flags.
Comment #7
joachim commentedAnd now on the 7.x-2.x branch.
Comment #8
socketwench commented*backports*
Comment #9
joachim commentedDoesn't quite look right I'm afraid -- the weights get shown below the table and the columns go wrong.
Comment #10
socketwench commentedShould have been $flags, not $flag.
Comment #11
socketwench commentedComment #12
joachim commentedTests pass and patch works fine. Committed!
Issue #1726806 by socketwench, kid_icarus, joachim: Fixed 'save flag order' button and flag weight showing when there are fewer than 2 flags.
Comment #13
joachim commentedTo keep the two 2.x branches in sync we should backport this.
Comment #14
tayzlor commentedHere's a 6.x-2.x patch
Comment #15
tayzlor commentedComment #16
joachim commentedThanks!
Here's a slight correction to that patch -- was missing the tweak to the table header when there's no tabledrag.
Comment #17
joachim commentedCommitted.
Thanks to everyone who's worked on this!
Beta 9 on the way soon :)
Issue #1726806 by tayzlor, kid_icarus, joachim: Fixed 'save flag order' button and flag weight showing when there are fewer than 2 flags.