mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
Monotone-Parent: 520496a6d68fd0fb5d259c933164b0fab2f8cd91
Monotone-Revision: f3c4d5f9e17b1f8f35c5fd70ef9c801ba53ee0dd Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-11-09T22:18:25 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2006-11-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/MailerUI/UIxMailListView.m: removed all the JS methods since
|
||||
we want everything to be separated from each other, as much as
|
||||
possible.
|
||||
|
||||
* UI/WebServerResources/SOGoDragHandles.js: new module containing
|
||||
the "SOGoDragHandlesInterface", implementing methods that can be
|
||||
attributed to DIV so that they can be used as drag handles.
|
||||
|
||||
@@ -377,47 +377,6 @@ static int attachmentFlagSize = 8096;
|
||||
return [@"unreaddiv_" stringByAppendingString:[self messageUidString]];
|
||||
}
|
||||
|
||||
- (NSString *) clickedMsgJS
|
||||
{
|
||||
/* return 'false' aborts processing */
|
||||
return [NSString stringWithFormat:@"clickedUid(this, '%@'); return false",
|
||||
[self messageUidString]];
|
||||
}
|
||||
|
||||
// the following are unused?
|
||||
- (NSString *) dblClickedMsgJS
|
||||
{
|
||||
return [NSString stringWithFormat:@"doubleClickedUid(this, '%@')",
|
||||
[self messageUidString]];
|
||||
}
|
||||
|
||||
// the following are unused?
|
||||
- (NSString *) highlightRowJS
|
||||
{
|
||||
return [NSString stringWithFormat:@"highlightUid(this, '%@')",
|
||||
[self messageUidString]];
|
||||
}
|
||||
- (NSString *) lowlightRowJS
|
||||
{
|
||||
return [NSString stringWithFormat:@"lowlightUid(this, '%@')",
|
||||
[self messageUidString]];
|
||||
}
|
||||
|
||||
- (NSString *) markUnreadJS
|
||||
{
|
||||
return [NSString stringWithFormat:
|
||||
@"mailListMarkMessage(this, 'markMessageUnread', "
|
||||
@"'%@', false)",
|
||||
[self messageUidString]];
|
||||
}
|
||||
- (NSString *) markReadJS
|
||||
{
|
||||
return [NSString stringWithFormat:
|
||||
@"mailListMarkMessage(this, 'markMessageRead', "
|
||||
@"'%@', true)",
|
||||
[self messageUidString]];
|
||||
}
|
||||
|
||||
/* error redirects */
|
||||
|
||||
- (id) redirectToViewWithError: (id) _error
|
||||
|
||||
Reference in New Issue
Block a user