mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-12-26 02:23:48 +01:00
add querystring with version to releasenotes to prevent browser caching
This commit is contained in:
parent
4b68bb5680
commit
bae38b8475
@ -117,14 +117,15 @@
|
|||||||
if (data.current_release_date) {
|
if (data.current_release_date) {
|
||||||
html += ' (released: ' + formatDate(data.current_release_date) + ')';
|
html += ' (released: ' + formatDate(data.current_release_date) + ')';
|
||||||
}
|
}
|
||||||
var localReleasenotes = "http://"+_pageData.localip+"/ReleaseNotes.html";
|
|
||||||
|
var localReleasenotes = "http://"+_pageData.localip+"/ReleaseNotes.html?"+data.current_version;
|
||||||
html += ' (<a target="d3d-curr-relnotes" href="'+localReleasenotes+'">release notes</a>).';
|
html += ' (<a target="d3d-curr-relnotes" href="'+localReleasenotes+'">release notes</a>).';
|
||||||
if(data.can_update) {
|
if(data.can_update) {
|
||||||
html += '<br/>Latest version: ' + data.newest_version;
|
html += '<br/>Latest version: ' + data.newest_version;
|
||||||
if (data.newest_release_date) {
|
if (data.newest_release_date) {
|
||||||
html += ' (released: ' + formatDate(data.newest_release_date) + ')';
|
html += ' (released: ' + formatDate(data.newest_release_date) + ')';
|
||||||
}
|
}
|
||||||
html += ' (<a target="d3d-new-relnotes" href="http://doodle3d.com/releasenotes/">release notes</a>).';
|
html += ' (<a target="d3d-new-relnotes" href="http://doodle3d.com/releasenotes/?'+data.newest_version+'">release notes</a>).';
|
||||||
}
|
}
|
||||||
_infoField.html(html);
|
_infoField.html(html);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user