diff options
| author | Géry Debongnie <ged@odoo.com> | 2017-10-05 15:55:10 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2017-10-18 13:31:17 +0200 |
| commit | 5b465611a009814ea1c70d967ce3dccca320f38c (patch) | |
| tree | bee22370cb5cd234ded9d10d21b0a8829443dc1c /addons/web/static/src/js/report | |
| parent | f9d08ba5b956fce38636d5602f3937814540a77f (diff) | |
[REF] web: remove dead template/code/files
We sometimes need to clean up stuff. I am actually surprised that there
were no more dead templates. We should do the same for css/less.
Diffstat (limited to 'addons/web/static/src/js/report')
| -rw-r--r-- | addons/web/static/src/js/report/subst.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/addons/web/static/src/js/report/subst.js b/addons/web/static/src/js/report/subst.js deleted file mode 100644 index 076a5ff208a..00000000000 --- a/addons/web/static/src/js/report/subst.js +++ /dev/null @@ -1,14 +0,0 @@ -function subst() { - var vars = {}; - var x = document.location.search.substring(1).split('&'); - for (var i in x) { - var z = x[i].split('=', 2); - vars[z[0]] = unescape(z[1]); - } - var x=['frompage', 'topage', 'page', 'webpage', 'section', 'subsection', 'subsubsection']; - for (var i in x) { - var y = document.getElementsByClassName(x[i]); - for (var j=0; j<y.length; ++j) - y[j].textContent = vars[x[i]]; - } -} |
