Opened 7 years ago

Closed 5 years ago

Last modified 5 years ago

#3500 closed enhancement (fixed)

Progressbar callback at the end

Reported by: wiibaker Owned by: paul
Priority: major Milestone: 1.8.6
Component: ui.progressbar Version: 1.6rc2
Keywords: progressbar callback Cc:
Blocked by: Blocking:



I changed to use the ui progressbar, but noticed that it didn't have a callback for the event at the end of the bar. I needed that for my project.

I did a hack to do that like this:

Added the following line animate methods complete callback (around line 70)


Also I added the method after the text method (around line 178)

end: function(){

this._propagate('end', this.ui());


Now you can call the progressbar like this:

$("#progressbar").progressbar({end: doMyThingAtTheendMethod});

Could something like this added to the plugin?

Attachments (1)

3500.ui.progressbar.js.patch (410 bytes) - added by andrew_ 7 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 7 years ago by scott.gonzalez

  • Priority changed from minor to major

Progressbar should be reviewed to make sure that all reasonable callbacks have been added.

comment:2 Changed 7 years ago by jzaefferer

  • Milestone changed from TBD to 1.6

comment:3 Changed 7 years ago by rdworth

  • Milestone changed from 1.7 to 1.8

Changed 7 years ago by andrew_

comment:4 Changed 5 years ago by scott.gonzalez

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

Fixed in 0b6710a.

comment:5 Changed 5 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.6

comment:6 Changed 5 years ago by Scott González

Progressbar: Added a complete event. Fixes #3500 - Progressbar callback at the end.

Changeset: 0b6710aed7fc9a9412a975c9f70d3fd6a87c4b02

Note: See TracTickets for help on using tickets.