[PATCH 3 of 3 V2] hgweb: call process_dates after adding ajax-received entries to the page
Alexander Plavin
alexander at plav.in
Sat Aug 17 17:32:06 CDT 2013
# HG changeset patch
# User Alexander Plavin <alexander at plav.in>
# Date 1376740385 -14400
# Sat Aug 17 15:53:05 2013 +0400
# Node ID cc33d3be1c64be93bf38452e287a1a4a929dd97f
# Parent 0d194d5be6416a785f7128d37a5f944af21d999c
hgweb: call process_dates after adding ajax-received entries to the page
This gives correct date display for entries loaded with ajax.
diff -r 0d194d5be641 -r cc33d3be1c64 mercurial/templates/static/mercurial.js
--- a/mercurial/templates/static/mercurial.js Sun Aug 18 00:07:41 2013 +0400
+++ b/mercurial/templates/static/mercurial.js Sat Aug 17 15:53:05 2013 +0400
@@ -374,6 +374,7 @@
while (nodes.length) {
container.appendChild(nodes[0]);
}
+ process_dates();
},
function onerror(errorText) {
},
More information about the Mercurial-devel
mailing list