Bug Tracker

Ticket #2358 (assigned enhancement)

Opened 10 months ago

Last modified 9 months ago

ui dialog show and hide overrides

Reported by: mnichols Assigned to: rworth (accepted)
Type: enhancement Priority: major
Milestone: 1.2.4 Component: ui
Version: 1.2.3 Keywords: dialog show hide
Cc: Needs: Review

Description

There is no way to control the behaviour of the show() and hide() calls on ui dialog. Therefore applying effects to the dialog is impossible, making the dialog presentation...bland. This patch adds 'show' and 'hide' options accepting the uiDialog object to uiDialog.show() and uiDialog.hide() respectively. This lets the dev in the options do (using fx): show: function(dialog){ $j(dialog).show('drop',{ direction: 'down',duration:1500 }); }, hide: function(dialog){ $j(dialog).hide('drop',{ direction: 'down',duration:800 }); }

Attachments

uidroppable-show_and_hideoverrides.patch (0.9 kB) - added by mnichols 10 months ago.
show and hide ui dialog

Change History

Changed 10 months ago by mnichols

show and hide ui dialog

Changed 10 months ago by paul

  • owner changed from paul to rworth

Changed 9 months ago by rworth

  • status changed from new to assigned
Note: See TracTickets for help on using tickets.