]> err.no Git - scalable-opengroupware.org/commitdiff
fixed windows open links
authorhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Tue, 5 Oct 2004 16:24:58 +0000 (16:24 +0000)
committerhelge <helge@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Tue, 5 Oct 2004 16:24:58 +0000 (16:24 +0000)
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@362 d1b88da0-ebda-0310-925b-ed51d893ca5b

SOGo/UI/Mailer/ChangeLog
SOGo/UI/Mailer/UIxMailListView.m
SOGo/UI/Mailer/UIxMailListView.wox
SOGo/UI/Mailer/Version

index 3ee0984192f0f053f7b1eb5e1a6eed97026d842f..e1539f59d90a8fe2bf6b749c8a3e005e10f14f44 100644 (file)
@@ -1,7 +1,9 @@
 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
index 1a15d3273f3341b51ee8a758414bad3aef090509..c96029112e8fb4ceada32ffda9b2e4859f248c22 100644 (file)
 }
 
 - (NSString *)clickedMsgJS {
-  return [NSString stringWithFormat:@"clickedUid(this, '%@')", 
+  /* return 'false' aborts processing */
+  return [NSString stringWithFormat:@"clickedUid(this, '%@'); return false", 
                     [self messageUidString]];
 }
 - (NSString *)dblClickedMsgJS {
index 84a4dd4fb262706d6d898e52a31472d25463cdd2..b597ada1332889d531895d819cf2489ecf94ddfe 100644 (file)
@@ -78,8 +78,9 @@
               <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>
@@ -87,8 +88,8 @@
               </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>
index 8a19b3e3468cf58736fef0c8c36b3b6210ce79fe..a281cca1594d733d2ec92e26d77e63bf0f1045e6 100644 (file)
@@ -1,3 +1,3 @@
 # $Id$
 
-SUBMINOR_VERSION:=23
+SUBMINOR_VERSION:=24