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