diff --git a/MANIFEST.in b/MANIFEST.in index 9e21505..8a7e39e 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,7 @@ +include *.md *.rst *.txt +graft docs +graft eea global-exclude *pyc global-exclude *~ global-exclude *.un~ -global-include *mo - global-include *.mo diff --git a/docs/HISTORY.txt b/docs/HISTORY.txt index 1492413..f93d55a 100644 --- a/docs/HISTORY.txt +++ b/docs/HISTORY.txt @@ -1,13 +1,18 @@ Changelog ========= +7.7 - (2020-02-28) +-------------------------- +* Bug fix: fixed temporal coverage insert when upgrading to jquery 3.4.1 + [ichim-david refs #105112] + 7.6 - (2019-01-28) ---------------------- +-------------------------- * Jenkins: Add sonarqube step [avoinea refs #101552] 7.5 - (2018-09-07) ---------------------- +-------------------------- * Bugfix: Fixed size of the prev/next wizard buttons on edit [szabozo0 refs #97571] diff --git a/eea/forms/skins/eea_forms/temporal_widget.js b/eea/forms/skins/eea_forms/temporal_widget.js index d8554ce..8e5b7f6 100644 --- a/eea/forms/skins/eea_forms/temporal_widget.js +++ b/eea/forms/skins/eea_forms/temporal_widget.js @@ -99,7 +99,7 @@ $("#token-input-temporalCoverage").on("keydown", function(evt){ var pressed = String.fromCharCode(evt.keyCode); - var field_value = evt.srcElement.value.trim(); + var field_value = evt.currentTarget.value.trim(); if(skip_keys.indexOf(evt.keyCode) === -1){ @@ -107,7 +107,7 @@ if(check_isNaN(pressed, evt.keyCode)){ return false; } else { - evt.srcElement.value = field_value + "-"; + evt.currentTarget.value = field_value + "-"; } } else if(check_isNaN(pressed, evt.keyCode)) { diff --git a/eea/forms/version.txt b/eea/forms/version.txt index 38abeb2..25b629b 100644 --- a/eea/forms/version.txt +++ b/eea/forms/version.txt @@ -1 +1 @@ -7.6 +7.7 diff --git a/setup.py b/setup.py index be68c11..3ee48fb 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,7 @@ setup(name=NAME, version=VERSION, description="EEA forms - Custom AT widgets and fields", + long_description_content_type="text/x-rst", long_description=open("README.rst").read() + "\n" + open(os.path.join("docs", "HISTORY.txt")).read(), # https://pypi.python.org/pypi?%3Aaction=list_classifiers