Ticket #4427 (closed bug: fixed)

Opened 6 years ago

Last modified 5 years ago

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:
Blocking: Blocked by:

Description

I expected

$myprogressbar.progressbar('value')

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

Attachments

4427.ui.progressbar.js.patch Download (51 bytes) - added by andrew_ 5 years ago.
Resolution Patch File
4427.ui.progressbar.js.2.patch Download (315 bytes) - added by andrew_ 5 years ago.
(Unified Format) Resolution Patch

Change History

comment:1 Changed 5 years ago by scott.gonzalez

  • Milestone changed from TBD to 1.8

Changed 5 years ago by andrew_

Resolution Patch File

Changed 5 years ago by andrew_

(Unified Format) Resolution Patch

comment:2 Changed 5 years ago by scott.gonzalez

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

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 5 years ago by rdworth

  • Priority changed from minor to critical

comment:4 Changed 5 years ago by rdworth

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