Skip to main content

Search and Top Navigation

#5731 closed bug (fixed)

Opened June 16, 2010 11:27AM UTC

Closed July 16, 2010 02:05PM UTC

Last modified November 19, 2010 06:26PM UTC

hide and show called with ommiting the options in parameters does not call the callback

Reported by: kobrigo Owned by:
Priority: major Milestone: 1.8.3
Component: ui.effects.core Version: 1.8.2
Keywords: Cc: kobrigo@hotmail.com
Blocked by: Blocking:
Description

calling $(<some object selector>).hide('slide', 500, function(){

do somthing here });

will work but the callback will not execute.

on the function function _normalizeArguments(effect, options, speed, callback). which tries to do parmas shifting for function overloading.

Workaround could be to add an empty options object like this:

some object selector>).hide('slide', {}, 500, function(){

do somthing here });

Attachments (1)
  • uiBug.zip (54.9 KB) - added by kobrigo June 16, 2010 11:29AM UTC.

    a test that demostrates the problem ( #div5 should call it's callback)

Change History (4)

Changed June 16, 2010 11:49AM UTC by kobrigo comment:1

calling $(<some object selector>).hide('slide', 500, function(){

do somthing here });

will work but the callback will not execute.

on the function function _normalizeArguments(effect, options, speed, callback). which tries to do parmas shifting for function overloading.

Workaround could be to add an empty options object like this: some object selector>).hide('slide', {}, 500, function(){

do somthing here });

Here is a link to my fix in github

http://github.com/kobrigo/jquery-ui/commit/01dcb63cd3690a2aaf4d0c754b24ecac9c365d81

Changed July 16, 2010 02:05PM UTC by scottgonzalez comment:2

milestone: TBD1.9
resolution: → fixed
status: newclosed

Fixed in 1417487. Thanks kobrigo.

Changed August 04, 2010 01:24AM UTC by scottgonzalez comment:3

milestone: 1.91.8.3

Changed November 19, 2010 06:26PM UTC by kobrigo comment:4

Fixed argument shifting for effects. Fixes #5731 - hide and show called with ommiting the options in parameters does not call the callback.

Changeset: 141748788b034e97337ee7d9d137153c445097fd