From a1916008434c874f2705fe854d41234fa14db63c Mon Sep 17 00:00:00 2001 From: borjasalguero Date: Mon, 17 Aug 2015 09:08:47 +0100 Subject: [PATCH] Bug 1183727 - [Contacts][NGA] Create #update view and connect it to #open within Contacts App r=arcturus --- .../contacts/elements/form.html | 4 +- apps/communications/contacts/index.html | 1 + apps/communications/contacts/js/bootstrap.js | 3 +- apps/communications/contacts/js/contacts.js | 86 ++++++------ apps/communications/contacts/js/navigation.js | 2 +- .../communications/contacts/js/param_utils.js | 63 +++++++++ apps/communications/contacts/js/views/list.js | 21 +-- .../contacts/services/contacts.js | 74 +++++++++-- .../contacts/test/marionette/details_test.js | 14 +- .../contacts/test/marionette/form_test.js | 123 ++++++------------ .../contacts/test/unit/contacts_test.js | 63 +-------- .../test/unit/views/details/boot_test.js | 1 + .../views/details/details_controller_test.js | 54 +++++--- .../test/unit/views/form/boot_test.js | 1 + .../unit/views/form/form_controller_test.js | 1 - .../contacts/views/details/details.html | 5 + .../contacts/views/details/js/boot.js | 54 +++++++- .../views/details/js/details_controller.js | 72 +++++++--- .../contacts/views/form/form.html | 3 + .../contacts/views/form/js/boot.js | 53 +++++++- .../contacts/views/form/js/form_controller.js | 43 +++++- .../contacts/views/form/js/form_ui.js | 107 +++++++++++++-- .../contacts/views/form/style/overwrite.css | 2 +- apps/communications/dialer/index.html | 1 + apps/communications/manifest.webapp | 2 +- shared/js/contacts/import/utilities/misc.js | 6 +- 26 files changed, 583 insertions(+), 276 deletions(-) create mode 100644 apps/communications/contacts/js/param_utils.js diff --git a/apps/communications/contacts/elements/form.html b/apps/communications/contacts/elements/form.html index 94a5d7fa9a49..486402e41763 100644 --- a/apps/communications/contacts/elements/form.html +++ b/apps/communications/contacts/elements/form.html @@ -1,8 +1,8 @@