Skip to main content

Bug Tracker

Side navigation

#3219 closed enhancement (fixed)

Opened August 05, 2008 04:18AM UTC

Closed December 25, 2008 08:13PM UTC

Last modified October 06, 2009 08:53AM UTC

boolean argument to toggle functions

Reported by: dalangalma Owned by: flesler
Priority: minor Milestone: 1.3
Component: effects Version: 1.2.6
Keywords: Cc: dalangalma
Blocked by: Blocking:

This is similar to #1681 but more general. I'd like it if all the toggle functions (toggle, toggleClass, slideToggle, etc) could take a boolean to say whether to show or hide them. That way you could replace code that was like:

if (hasErrors) {
else {

it could just be:

Attachments (0)
Change History (2)

Changed August 05, 2008 02:53PM UTC by flesler comment:1

owner: → flesler
status: newassigned

This seems like a valid enhancement, I'll take care of this.

Changed December 25, 2008 08:13PM UTC by flesler comment:2

cc: → dalangalma
resolution: → fixed
status: assignedclosed

Added at [6000] and [6001].