Author: jjamrich
Date: 2012-01-18 04:27:57 -0500 (Wed, 18 Jan 2012)
New Revision: 23160
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/resources/script/pushHelper.js
Log:
RFPL-982: Add class for element displaying push's timestamp
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/resources/script/pushHelper.js
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/resources/script/pushHelper.js 2012-01-18
08:41:39 UTC (rev 23159)
+++
modules/tests/metamer/trunk/application/src/main/webapp/resources/script/pushHelper.js 2012-01-18
09:27:57 UTC (rev 23160)
@@ -1,6 +1,6 @@
function updateMessage(containerElem, data) {
author = '<span style="font-weight:bold"
class="author">' + data.author + '</span>: ';
message = '<span class="message">' + data.text +
'</span>';
- timestamp = ' <span>[' + data.timestamp + ']</span>';
+ timestamp = ' <span class="timestamp">[' + data.timestamp +
']</span>';
jQuery(containerElem).children("div").replaceWith('<div>' +
author + message + timestamp + '</div>');
}
Show replies by date