Download & Extend

Floating tableheader: 'Select all' checkbox not updated

Project:Drupal core
Version:6.x-dev
Component:javascript
Category:bug report
Priority:minor
Assigned:Unassigned
Status:needs review
Issue tags:needs backport to D7

Issue Summary

On /admin/content/node --
Check the 'Select all' checkbox in the non-floating header, the floating header remains unchecked.
Check the 'Select all' checkbox in the floating header, uncheck it in the non-floating header, the floating header remains checked.
Check the 'Select all' checkbox in either header, uncheck any other checkbox, the non-floating header is unchecked (correctly), the floating header remains checked.

Comments

#1

Version:6.x-dev» 7.x-dev

Confirmed. Same happens in 7.x-dev.

#2

Status:active» needs review

Here is a patch to include the cloned header on update. One thing that this patch will miss is when the select all box is checked on page load. The issue is the cloned table header is loaded after the update of the select all box on the initial load. Not sure when this will come up.

EDIT: Nevermind on the initial load the js will clone the checked state also.

AttachmentSizeStatusTest resultOperations
table-sa.patch819 bytesIdleFailed: Failed to apply patch.View details | Re-test

#3

i wonder if it's related but i'd noticed that the header isn't fully cloned when it start floating. if you set a class on the fixed header once it starts floating the formatting is lost until it stops floating.

#4

Status:needs review» needs work

The last submitted patch failed testing.

#5

Status:needs work» needs review

Now improved with a reroll and 4 less bytes. Get it now while it's hot.

AttachmentSizeStatusTest resultOperations
table-sa2.patch815 bytesIdlePassed: 11624 passes, 0 fails, 0 exceptionsView details | Re-test

#6

Status:needs review» needs work

The last submitted patch failed testing.

#7

Status:needs work» needs review

#8

Status:needs review» needs work

The last submitted patch failed testing.

#9

Status:needs work» needs review

Hmm don't see how this patch could make the file naming test fail. Maybe bad result? Moving back to review

#10

I have submitted the patch for re-testing.

#11

Status:needs review» needs work

The last submitted patch failed testing.

#12

Status:needs work» needs review

#13

Status:needs review» needs work

I can't see the select all checkbox in the floating table header at all (ff3/ubuntu) - with or without the patch.

#14

Status:needs work» needs review

Even smaller patch.

I do see the select-all checkbox (FF3/XP).

AttachmentSizeStatusTest resultOperations
tableselect-tableheader.patch919 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 23,291 pass(es).View details | Re-test

#15

Still applies. anyone?

#16

#14: tableselect-tableheader.patch queued for re-testing.

#17

Version:7.x-dev» 8.x-dev
Status:needs review» reviewed & tested by the community

just a reroll, don't credit me.

Works fine, 'nuf said :)

AttachmentSizeStatusTest resultOperations
core-js-select-all-sticky-218470-17.patch803 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 34,583 pass(es).View details | Re-test
core-js-select-all-sticky-218470-17-D7.patch783 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 38,281 pass(es).View details | Re-test

#18

Version:8.x-dev» 7.x-dev
Status:reviewed & tested by the community» patch (to be ported)

#19

Status:patch (to be ported)» needs review

Reuploading nod_'s D7 patch from #17 for testbot.

AttachmentSizeStatusTest resultOperations
core-js-select-all-sticky-218470-17-D7.patch783 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 38,277 pass(es).View details | Re-test

#20

Status:needs review» reviewed & tested by the community

#21

Version:7.x-dev» 6.x-dev
Status:reviewed & tested by the community» patch (to be ported)

Committed to 7.x - thanks! http://drupalcode.org/project/drupal.git/commit/efd12ac

Moving to 6.x for possible backport.

#22

Status:patch (to be ported)» needs review

D6 backport.

AttachmentSizeStatusTest resultOperations
core_js_select_all_sticky-218470-22.patch780 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 190 pass(es).View details | Re-test
nobody click here