author | Cameron McCormack <cam@mcc.id.au> |
Wed, 10 Apr 2013 09:39:41 +1000 | |
changeset 80 | 661aed1acd5c |
parent 79 | acecf885de3c |
child 81 | 7dc3ec585766 |
publish/processing.js |
--- a/publish/processing.js Tue Apr 09 09:36:03 2013 +1000 +++ b/publish/processing.js Wed Apr 10 09:39:41 2013 +1000 @@ -546,8 +546,7 @@ } function doPreviousVersion(conf, page, n) { - - replaceWithURLLink(n, conf.versions.previous); + replaceWithURLLink(n, conf.maturity == 'ED' ? conf.versions.this : conf.versions.previous); } function doCopyright(conf, page, n) {