diff --git a/CHANGELOG.md b/CHANGELOG.md index 3389ff61183d2de2836bf3035c09d88299d09c76..12dcd56b5c6360ebf3b79713d14fa57e453704b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Bugfix Version 4.0.8 +==================== + +* Remove outdated Readme +* Validate empty/deleted timestamp values as true + Bugfix Version 4.0.7 ==================== diff --git a/edit/README.md b/edit/README.md deleted file mode 100644 index 4d502ff6fc2c28ab7e2c4706b004ddde3cf98a7d..0000000000000000000000000000000000000000 --- a/edit/README.md +++ /dev/null @@ -1,16 +0,0 @@ -========================== -DARIAH-DE Datasheet Editor -========================== - - -An input tool for the DARIAH-DE Geo-Browser. - -Needs bower ( see http://bower.io/ ) to resolve missing css & js-libs. - -$ sudo npm install -g bower - -worked for me... then do a - -$ bower install - -and it should be fine. diff --git a/edit/js/dariah.workflow.table.js b/edit/js/dariah.workflow.table.js index 352f2e7c92a104810731358299e05038dff61219..8212159a4e30d89a540eacfbbe5d9a72ca4a0b93 100644 --- a/edit/js/dariah.workflow.table.js +++ b/edit/js/dariah.workflow.table.js @@ -51,7 +51,7 @@ function handleHeaderCells(row) { function getDateFieldProps(){ return { validator: function(value, callback){ //custom date validator - if (xsdGYear.test(value) || xsdGYearMonth.test(value) || xsdDateOrDateTime.test(value)) { + if (!value || xsdGYear.test(value) || xsdGYearMonth.test(value) || xsdDateOrDateTime.test(value)) { callback(true); } else callback(false); }, diff --git a/package-lock.json b/package-lock.json index 87e48d994b920e7296203a144d4b6c64aea9dc13..8fdd1fd4d8c4ddf9dd0e5b7ffe0ba98e36feecb7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dariahde-datasheet-editor", - "version": "4.0.7", + "version": "4.0.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "dariahde-datasheet-editor", - "version": "4.0.7", + "version": "4.0.8", "dependencies": { "clipboard": "^2.0.8", "handsontable": "^9.0.2", diff --git a/package.json b/package.json index d3fc0b3be60b0b79917749c6ff192a9833189e37..4edfbe12626a30ac309da933ae04786a37865b10 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dariahde-datasheet-editor", - "version": "4.0.7", + "version": "4.0.8", "private": true, "scripts": { "build:beta": "webpack --config webpack.config.dev.js",