Unverified Commit 04b19303 authored by Alberto Nale's avatar Alberto Nale Committed by GitHub
Browse files

Merge branch 'master' into sprint-15-bugfix

parents 9168f9d1 c14e0eef
alabaster==0.7.12
appdirs==1.4.3
attrs==19.3.0
Babel==2.9.0
bleach==3.1.0
bokeh==2.2.3
Jinja2==2.10.3
cached-property==1.5.1
certifi==2019.9.11
cffi==1.13.2
chardet==3.0.4
Click==7.0
colorama==0.4.4
cryptography==2.8
cycler==0.10.0
defusedxml==0.6.0
distlib==0.3.0
docutils==0.15.2
filelock==3.0.12
Flask==1.1.1
Flask-Cors==3.0.8
gunicorn==20.0.4
hpy==0.0.1
idna==2.8
imagesize==1.2.0
importlib-metadata==1.1.0
isodate==0.6.0
itsdangerous==1.1.0
Jinja2==2.10.3
joblib==0.14.0
keyring==19.3.0
kiwisolver==1.1.0
lxml==4.4.2
MarkupSafe==1.1.1
matplotlib==3.1.1
mod-wsgi==4.7.1
more-itertools==8.0.0
numpy==1.21.4
packaging==19.2
pandas==1.3.4
patsy==0.5.1
Pillow==8.1.0
pip==20.0.1
pkginfo==1.5.0.1
plotly==4.2.1
psutil==5.6.5
py4j==0.10.7
pybase64==1.0.1
pycparser==2.19
Pygments==2.4.2
PyJWT==1.7.1
Pympler==0.9
pyOpenSSL==19.1.0
pyparsing==2.4.2
pyspark==2.4.4
python-dateutil==2.8.0
pytz==2019.3
pywin32-ctypes==0.2.0
PyYAML==5.1.2
readme-renderer==24.0
requests==2.22.0
requests-toolbelt==0.9.1
retrying==1.3.3
rstcheck==3.3.1
scikit-learn==0.21.3
scipy==1.3.1
setuptools==42.0.2
six==1.12.0
snowballstemmer==2.1.0
Sphinx==3.5.1
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.4
statsmodels==0.12.1
tornado==6.0.3
tqdm==4.37.0
twine==3.1.1
typing-extensions==3.7.4.3
urllib3==1.25.6
virtualenv==20.0.8
webencodings==0.5.1
Werkzeug==0.16.0
wheel==0.33.6
zeep==3.4.0
zipp==0.6.0
\ No newline at end of file
......@@ -45,13 +45,12 @@ export function downloadDirect(jsonData, filename, contentType) {
link.setAttribute('download', filename)
if (fnBrowserDetect() !== 'firefox') {
let lastDot = filename.lastIndexOf('.')
if (lastDot != -1) {
let fileNameWithoutExtension = filename.substring(0, lastDot)
link.setAttribute('download', fileNameWithoutExtension)
}
}
/* let lastDot = filename.lastIndexOf('.')
if (lastDot != -1) {
let fileNameWithoutExtension = filename.substring(0, lastDot)
link.setAttribute('download', fileNameWithoutExtension)
} */
link.style.visibility = 'hidden'
document.body.appendChild(link)
link.click()
......@@ -72,7 +71,7 @@ export function byteToHumanFriendlyFormat(bytes, decimals = 2) {
return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i]
}
function fnBrowserDetect() {
/* function fnBrowserDetect() {
let userAgent = navigator.userAgent
let browserName
......@@ -91,4 +90,4 @@ function fnBrowserDetect() {
}
return browserName
}
}*/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment