Created
March 24, 2009 22:42
-
-
Save satyr/84409 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 19db7607664b ubiquity/feed-parts/header/cmdutils.js | |
--- a/ubiquity/feed-parts/header/cmdutils.js Wed Mar 25 07:20:16 2009 +0900 | |
+++ b/ubiquity/feed-parts/header/cmdutils.js Wed Mar 25 07:41:04 2009 +0900 | |
@@ -943,6 +943,11 @@ | |
data, | |
callback, | |
type) { | |
+ if (typeof data === 'function') { | |
+ callback = data; | |
+ data = null; | |
+ } | |
+ | |
return CmdUtils.previewAjax(pblock, | |
{type: "GET", | |
url: url, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment