diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-11-28 16:12:30 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-11-28 16:12:30 +0100 |
commit | 878923ab610af66789531937278ed1aa58f1ebd7 (patch) | |
tree | b57f9dece7805141490534f255392000c8e83cbc /gui/static | |
parent | 90255c8d0d69f2843c72c41faab57c3905fbf906 (diff) | |
download | dabmod-878923ab610af66789531937278ed1aa58f1ebd7.tar.gz dabmod-878923ab610af66789531937278ed1aa58f1ebd7.tar.bz2 dabmod-878923ab610af66789531937278ed1aa58f1ebd7.zip |
GUI add cache break to images
Diffstat (limited to 'gui/static')
-rw-r--r-- | gui/static/js/odr-predistortion.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gui/static/js/odr-predistortion.js b/gui/static/js/odr-predistortion.js index 73c3b94..7a93b2b 100644 --- a/gui/static/js/odr-predistortion.js +++ b/gui/static/js/odr-predistortion.js @@ -34,8 +34,10 @@ function calibraterefresh() { $(function(){ $('#calibraterefreshbtn').click(calibraterefresh); $('#refreshframesbtn').click(function() { - $('#txframeimg').src("dpd/txframe.png"); - $('#rxframeimg').src("dpd/rxframe.png"); + var d = new Date(); + var n = d.getTime(); + $('#txframeimg').src = "dpd/txframe.png?cachebreak=" + n; + $('#rxframeimg').src = "dpd/rxframe.png?cachebreak=" + n; }); $('#calibratebtn').click(function() { |