Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4427 closed bug (fixed)

progressbar('value') returns a reference to this instead of the value

Reported by: kmb2215 Owned by:
Priority: critical Milestone: 1.7.2
Component: ui.progressbar Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description

I expected

$myprogressbar.progressbar('value')

to return the value (ie a number) but instead it returns $myprogressbar for chaining.

Change History (4)

comment:1 Changed 7 years ago by scottgonzalez

  • Milestone changed from TBD to 1.8

comment:2 Changed 7 years ago by scottgonzalez

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r2458. The value method now returns the current value when no parameter is passed in and is chainable when setting a value by passing it in.

comment:3 Changed 7 years ago by rdworth

  • Priority changed from minor to critical

comment:4 Changed 7 years ago by rdworth

  • Milestone changed from 1.8 to 1.7.2
Note: See TracTickets for help on using tickets.