diff --git a/Mac/NewMessageWindow.m b/Mac/NewMessageWindow.m index f065e5f..dbdd0f7 100644 --- a/Mac/NewMessageWindow.m +++ b/Mac/NewMessageWindow.m @@ -156,12 +156,13 @@ retval = YES; // causes Apple to NOT fire the default enter action } - - if (commandSelector == @selector(noop:)) { + else if (commandSelector == @selector(noop:)) { retval = YES; [self sendTweet:control]; } + NSLog(@"%@", NSStringFromSelector(commandSelector) ); + return retval; } @end diff --git a/WebKit/scripts/helper/Core.js b/WebKit/scripts/helper/Core.js index b94b5f0..5435ec1 100644 --- a/WebKit/scripts/helper/Core.js +++ b/WebKit/scripts/helper/Core.js @@ -232,6 +232,8 @@ function(jQuery, Paths, URI, HostApp, Followings) { data["mentions"] = mentions; } + debug(data); + //return Paths.getURL(url.toString(), http_method, callback, JSON.stringify(data)); // FIXME: error callback }