github github
  • Home
  • Pricing and Signup
  • Training
  • Gist
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 920
    • 212
  • Source
  • Commits
  • Network (212)
  • Graphs
  • Tree: 4be0942

click here to add a description

click here to add a homepage

  • Switch Branches (8)
    • bind
    • devpreview
    • formcontrols
    • master
    • menu
    • panel
    • tooltip
    • widget-super
  • Switch Tags (21)
    • 1.9m2
    • 1.9m1
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8.4
    • 1.8.3
    • 1.8.2
    • 1.8.1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
  • Contributors
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

argument shifting is not done correctly when the options argument is not supplied. the result is that the callback is not called. this fixes Ticket #5731 foooo
kobrigo (author)
Wed Jun 16 04:38:19 -0700 2010
jzaefferer (committer)
Fri Jul 16 07:09:23 -0700 2010
commit  4be0942af0d0a7354114
tree    c274b10719cecb4a4b06
parent  06f721b74f94272baf5d
M ui/jquery.effects.core.js 10 ••••
Txt ui/jquery.effects.core.js
  • View file @ 4be0942
... ...
@@ -418,15 +418,15 @@ function _normalizeArguments(effect, options, speed, callback) {
418 418
     speed = null;
419 419
     options = {};
420 420
   }
421  
-  if ($.isFunction(speed)) {
422  
-    callback = speed;
423  
-    speed = null;
424  
-  }
425  
-  if (typeof options == 'number' || $.fx.speeds[options]) {
  421
+        if (typeof options == 'number' || $.fx.speeds[options]) {
426 422
     callback = speed;
427 423
     speed = options;
428 424
     options = {};
429 425
   }
  426
+  if ($.isFunction(speed)) {
  427
+    callback = speed;
  428
+    speed = null;
  429
+  }
430 430
 
431 431
   options = options || {};
432 432
 

0 notes on commit 4be0942

Please log in to comment.
Dedicated Server Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
  • Blog
  • Support
  • Training
  • Job Board
  • Shop
  • Contact
  • API
  • Status
  • © 2010 GitHub Inc. All rights reserved.
  • Terms of Service
  • Privacy
  • Security
  • English
  • Deutsch
  • Français
  • 日本語
  • Português (BR)
  • 中文
  • See all available languages

Your current locale selection: English. Choose another?

  • English
  • Afrikaans
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Српски
  • Svenska
  • 中文