2004-10-05 Helge Hess <helge.hess@opengroupware.org>
- * v0.9.23
+ * UIxMailListView: removed href for JavaScript onclick links (v0.9.24)
+ * v0.9.23
+
* product.plist: fixed addressbook label
* UIxMailToolbar: added support for 'onclick' event handlers
}
- (NSString *)clickedMsgJS {
- return [NSString stringWithFormat:@"clickedUid(this, '%@')",
+ /* return 'false' aborts processing */
+ return [NSString stringWithFormat:@"clickedUid(this, '%@'); return false",
[self messageUidString]];
}
- (NSString *)dblClickedMsgJS {
<var:if condition="isMessageRead">
<div class="mailer_readmailsubject" var:id="msgDivID"
>
- <a var:href="messageViewURL" var:target="messageViewTarget"
- var:onclick="clickedMsgJS">
+ <!-- Note: var:href="messageViewURL" (done by JS),
+ var:target="messageViewTarget" -->
+ <a href="#" var:onclick="clickedMsgJS">
<var:string value="message.envelope.subject"
formatter="context.mailSubjectFormatter"/>
</a>
</var:if>
<var:if condition="isMessageRead" const:negate="YES">
<div class="mailer_unreadmailsubject">
- <a var:href="messageViewURL" var:target="messageViewTarget"
- var:onclick="messageViewJS">
+ <!-- Note: var:href="messageViewURL" (done by JS) -->
+ <a href="#" var:onclick="messageViewJS">
<var:string value="message.envelope.subject"
formatter="context.mailSubjectFormatter"/>
</a>