From 9acf9230fb5a615853db344432c6fc3ab1b6676e Mon Sep 17 00:00:00 2001 From: Tom Vincent Date: Tue, 10 Nov 2015 19:44:22 +0000 Subject: [PATCH] fix(300): use bootstrap date picker HTML5 date type is only supported by Chrome. Use angular-xeditable + ui-bootstrap ngClick workaround[1], plus a fork that makes the input button optional[2] as we have space constraints. Closes #300. [1]: https://github.com/vitalets/angular-xeditable/issues/164#issuecomment-125220958 [2]: https://github.com/vitalets/angular-xeditable/pull/388 --- bower.json | 2 +- src/app/planning/schedule/index.html | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/bower.json b/bower.json index 32145abe..f0fe552c 100644 --- a/bower.json +++ b/bower.json @@ -17,7 +17,7 @@ "angular-dragdrop": "~1.0.12", "ng-csv": "~0.3.4", "angular-csv-import": "~0.0.16", - "angular-xeditable": "~0.1.9", + "angular-xeditable": "https://github.com/tlvince/angular-xeditable.git#bd328b25ec309c437b9d1a96bedb0a019768e9a0", "angular-eha.couchdb-auth": "~1.1.0", "angular-ui-grid": "ui-grid#~3.0.7", "ui-select": "angular-ui-select#~0.13.2", diff --git a/src/app/planning/schedule/index.html b/src/app/planning/schedule/index.html index 73761660..7cba4fb2 100644 --- a/src/app/planning/schedule/index.html +++ b/src/app/planning/schedule/index.html @@ -76,9 +76,17 @@

Schedules for Delivery Round: {{ - - {{ srCtrl.getDate(facRnd.date) }} - +