From 7fa8e6fe057d4a7fb0893033b26b5e72d3c393b7 Mon Sep 17 00:00:00 2001
From: Dani Palou
Date: Fri, 31 Jan 2020 14:53:13 +0100
Subject: [PATCH] MOBILE-3323 editor: Delete draft when form is submitted
---
.../calendar/pages/edit-event/edit-event.html | 2 +-
.../calendar/pages/edit-event/edit-event.ts | 8 +-
.../edit-feedback-modal.html | 2 +-
.../edit-feedback-modal.ts | 20 +++-
src/addon/mod/assign/pages/edit/edit.html | 2 +-
src/addon/mod/assign/pages/edit/edit.ts | 101 ++++++++++--------
src/addon/mod/data/pages/edit/edit.html | 2 +-
src/addon/mod/data/pages/edit/edit.ts | 9 +-
src/addon/mod/data/pages/search/search.html | 2 +-
src/addon/mod/data/pages/search/search.ts | 26 ++++-
src/addon/mod/data/providers/data.ts | 45 ++++++--
.../index/addon-mod-lesson-index.html | 2 +-
.../mod/lesson/components/index/index.ts | 9 +-
.../pages/password-modal/password-modal.html | 2 +-
.../pages/password-modal/password-modal.ts | 14 ++-
src/addon/mod/lesson/pages/player/player.html | 2 +-
src/addon/mod/lesson/pages/player/player.ts | 15 ++-
src/addon/mod/lesson/providers/lesson.ts | 3 +
src/addon/mod/quiz/pages/player/player.html | 2 +-
src/addon/mod/quiz/pages/player/player.ts | 8 +-
.../preflight-modal/preflight-modal.html | 2 +-
.../pages/preflight-modal/preflight-modal.ts | 21 +++-
src/addon/mod/wiki/pages/edit/edit.html | 2 +-
src/addon/mod/wiki/pages/edit/edit.ts | 16 ++-
...ddon-mod-workshop-assessment-strategy.html | 2 +-
.../assessment-strategy.ts | 12 ++-
.../workshop/pages/assessment/assessment.html | 2 +-
.../workshop/pages/assessment/assessment.ts | 12 ++-
.../edit-submission/edit-submission.html | 2 +-
.../pages/edit-submission/edit-submission.ts | 16 ++-
.../workshop/pages/submission/submission.html | 2 +-
.../workshop/pages/submission/submission.ts | 11 +-
src/addon/notes/pages/add/add.html | 2 +-
src/addon/notes/pages/add/add.ts | 22 +++-
.../local-file/core-local-file.html | 2 +-
src/components/local-file/local-file.ts | 26 +++--
src/components/search-box/search-box.ts | 100 +++++++++++++++++
.../core-send-message-form.html | 2 +-
.../send-message-form/send-message-form.ts | 17 ++-
src/core/comments/pages/add/add.html | 2 +-
src/core/comments/pages/add/add.ts | 21 +++-
src/core/comments/providers/comments.ts | 2 +-
.../self-enrol-password.html | 2 +-
.../self-enrol-password.ts | 16 ++-
.../rich-text-editor/rich-text-editor.ts | 27 ++++-
.../login/pages/credentials/credentials.html | 2 +-
.../login/pages/credentials/credentials.ts | 10 +-
.../pages/email-signup/email-signup.html | 4 +-
.../login/pages/email-signup/email-signup.ts | 33 +++++-
.../forgotten-password.html | 2 +-
.../forgotten-password/forgotten-password.ts | 22 +++-
src/core/login/pages/reconnect/reconnect.html | 2 +-
src/core/login/pages/reconnect/reconnect.ts | 23 ++--
src/core/login/pages/site/site.html | 2 +-
src/core/login/pages/site/site.ts | 30 +++++-
.../search-box/core-search-box.html | 2 +-
.../components/search-box/search-box.ts | 12 ++-
src/providers/events.ts | 1 +
58 files changed, 608 insertions(+), 154 deletions(-)
create mode 100644 src/components/search-box/search-box.ts
diff --git a/src/addon/calendar/pages/edit-event/edit-event.html b/src/addon/calendar/pages/edit-event/edit-event.html
index 55a2cd584..49c0bb32f 100644
--- a/src/addon/calendar/pages/edit-event/edit-event.html
+++ b/src/addon/calendar/pages/edit-event/edit-event.html
@@ -9,7 +9,7 @@
-
-