incubator-esme-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vdic...@apache.org
Subject svn commit: r749119 - /incubator/esme/trunk/server/src/main/webapp/templates-hidden/message.html
Date Sun, 01 Mar 2009 21:48:44 GMT
Author: vdichev
Date: Sun Mar  1 21:48:43 2009
New Revision: 749119

URL: http://svn.apache.org/viewvc?rev=749119&view=rev
Log:
ESME-43 Fix bug of duplicate tags parsed from message body.

Modified:
    incubator/esme/trunk/server/src/main/webapp/templates-hidden/message.html

Modified: incubator/esme/trunk/server/src/main/webapp/templates-hidden/message.html
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/webapp/templates-hidden/message.html?rev=749119&r1=749118&r2=749119&view=diff
==============================================================================
--- incubator/esme/trunk/server/src/main/webapp/templates-hidden/message.html (original)
+++ incubator/esme/trunk/server/src/main/webapp/templates-hidden/message.html Sun Mar  1 21:48:43
2009
@@ -51,7 +51,7 @@
                 var msgDateStr = msgDateObj.toLocaleDateString() +
                     ' ' + msgDateObj.toLocaleTimeString();
                 var msgSource = cometMsg.source;
-                var msgTags = jQuery(cometMsg.text).find('tag').get();
+                var msgTags = jQuery(cometMsg.text).find('tags > tag').get();
                 for (var tagIndex=0; tagIndex < msgTags.length; tagIndex++) {
                     // Replace each tag element with the plain tag text
                     msgTags[tagIndex] = jQuery(msgTags[tagIndex]).attr('name');



Mime
View raw message