Skip to main content

Bug Tracker

Side navigation

#2358 closed enhancement (invalid)

Opened February 18, 2008 07:44AM UTC

Closed October 03, 2010 03:08AM UTC

ui dialog show and hide overrides

Reported by: mnichols Owned by: rworth
Priority: major Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: dialog show hide Cc:
Blocked by: Blocking:
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 (1)
Change History (3)

Changed February 19, 2008 12:32PM UTC by paul comment:1

owner: paulrworth

Changed February 26, 2008 05:16PM UTC by rworth comment:2

status: newassigned

Changed October 03, 2010 03:08AM UTC by dmethvin comment:3

resolution: → invalid
status: assignedclosed

Not a jQuery core bug.