Skip to main content

Bug Tracker

Side navigation

#7221 closed bug ()

Opened October 17, 2010 08:24AM UTC

Closed November 11, 2010 11:09PM UTC

Last modified January 31, 2011 05:55PM UTC

toggle() has problem with set of objects

Reported by: sapiensy@gmail.com Owned by: sapiensy@gmail.com
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.5
Keywords: Cc:
Blocked by: Blocking:
Description

I used toggle() to set of tables. After first click it shows and hides it as normal, but after second click it shows and hides only first object of this set.

So I had to use something like that:

		$('.payment_detailed').each(function() {
			var t = $(this);
			if(t.css('display') == 'none') {
				t.css('display', 'table'); 
			} else {
				t.css('display', 'none'); 
			}
		});
Attachments (0)
Change History (5)

Changed October 17, 2010 03:44PM UTC by addyosmani comment:1

owner: → sapiensy@gmail.com
status: newpending

Can you please submit a complete test case using jsFiddle (or your own file) so that we can evaluate the complete that you experienced this bug in?

Changed October 21, 2010 11:00PM UTC by snover comment:2

milestone: 1.4.41.4.5

Retargeting due to severity of regressions in 1.4.3.

Changed November 11, 2010 11:09PM UTC by trac-o-bot comment:3

status: pendingclosed

Automatically closed due to 14 days of inactivity.

Changed January 31, 2011 05:53PM UTC by john comment:4

version: 1.4.31.5

There wasn't a 1.4.5 release, was actually 1.5.

Changed January 31, 2011 05:55PM UTC by john comment:5

milestone: 1.4.51.5

There was no 1.4.5 release, was actually 1.5.