fixed problem with reply button
This commit is contained in:
parent
d99ff86520
commit
8e4d54f68b
5 changed files with 30 additions and 9 deletions
|
@ -3,6 +3,7 @@ define(function() {
|
|||
var HostApp = {};
|
||||
|
||||
HostApp.setStringForKey = function(string, key) {
|
||||
|
||||
if (OS_TYPE == "mac") {
|
||||
controller.setString_forKey_(string, key);
|
||||
} else {
|
||||
|
@ -11,6 +12,7 @@ define(function() {
|
|||
}
|
||||
|
||||
HostApp.stringForKey = function(key) {
|
||||
|
||||
if (OS_TYPE == "mac") {
|
||||
return controller.stringForKey_(key);
|
||||
} else {
|
||||
|
@ -19,6 +21,7 @@ define(function() {
|
|||
}
|
||||
|
||||
HostApp.openURL = function(url) {
|
||||
|
||||
if (OS_TYPE == "mac") {
|
||||
controller.openURL_(url);
|
||||
} else {
|
||||
|
@ -27,10 +30,12 @@ define(function() {
|
|||
}
|
||||
|
||||
HostApp.loggedIn = function() {
|
||||
|
||||
controller.loggedIn();
|
||||
}
|
||||
|
||||
HostApp.logout = function() {
|
||||
|
||||
if (OS_TYPE == "mac") {
|
||||
controller.logout_(self);
|
||||
} else {
|
||||
|
@ -39,6 +44,7 @@ define(function() {
|
|||
}
|
||||
|
||||
HostApp.unreadMentions = function(i) {
|
||||
|
||||
if (OS_TYPE == "mac") {
|
||||
controller.unreadMentions_(i);
|
||||
} else {
|
||||
|
@ -46,6 +52,15 @@ define(function() {
|
|||
}
|
||||
}
|
||||
|
||||
HostApp.openNewMessageWidow = function(entity, status_id, string) {
|
||||
|
||||
if (OS_TYPE == "mac") {
|
||||
controller.openNewMessageWindowInReplyTo_statusId_withString_(entity, status_id, string);
|
||||
} else {
|
||||
controller.openNewMessageWindowInReplyTostatusIdwithString(entity, status_id, string);
|
||||
}
|
||||
}
|
||||
|
||||
return HostApp;
|
||||
|
||||
});
|
Reference in a new issue