From 59f8615989d521afb96366f28190396be69197ac Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 9 Nov 2006 22:18:25 +0000 Subject: [PATCH] Monotone-Parent: 520496a6d68fd0fb5d259c933164b0fab2f8cd91 Monotone-Revision: f3c4d5f9e17b1f8f35c5fd70ef9c801ba53ee0dd Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-11-09T22:18:25 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ UI/MailerUI/UIxMailListView.m | 41 ----------------------------------- 2 files changed, 4 insertions(+), 41 deletions(-) diff --git a/ChangeLog b/ChangeLog index 42bc3458e..254671901 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-11-09 Wolfgang Sourdeau + * 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. diff --git a/UI/MailerUI/UIxMailListView.m b/UI/MailerUI/UIxMailListView.m index 5a6d7fefb..77e8d5911 100644 --- a/UI/MailerUI/UIxMailListView.m +++ b/UI/MailerUI/UIxMailListView.m @@ -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