From c71aa435819b82011e12c3f147c1d72a71d07ef5 Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 7 Jan 2016 19:11:21 -0800 Subject: [PATCH] =?UTF-8?q?[New=20Edit=20Mode]=20=E2=80=9CSeamless?= =?UTF-8?q?=E2=80=9D=20Edit=20Mode=20#464=20*=20html=20changes=20and=20Edi?= =?UTF-8?q?t=20Action=20*=20Fixed=20browse=20controller=20to=20correctly?= =?UTF-8?q?=20navigate=20to=20non-editable=20object=20*=20Added=20save=20a?= =?UTF-8?q?nd=20cancel=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../browse/res/templates/browse-object.html | 30 +++++++++++++++---- .../commonUI/browse/res/templates/browse.html | 4 +-- .../commonUI/browse/src/BrowseController.js | 8 +++-- platform/commonUI/edit/bundle.json | 6 ++-- .../commonUI/edit/src/actions/CancelAction.js | 16 ++++------ .../commonUI/edit/src/actions/EditAction.js | 18 ++++++----- .../commonUI/edit/src/actions/SaveAction.js | 14 +++++---- .../edit/src/capabilities/EditorCapability.js | 20 ++++++++++--- .../edit/src/representers/EditRepresenter.js | 2 ++ 9 files changed, 78 insertions(+), 40 deletions(-) diff --git a/platform/commonUI/browse/res/templates/browse-object.html b/platform/commonUI/browse/res/templates/browse-object.html index 6a2e199a96..aeeb621e66 100644 --- a/platform/commonUI/browse/res/templates/browse-object.html +++ b/platform/commonUI/browse/res/templates/browse-object.html @@ -19,12 +19,13 @@ this source code distribution or the Licensing information page available at runtime from the About dialog for additional information. --> - +
+ class="flex-elem l-back"> + @@ -43,8 +44,25 @@
- - +
+
+ +
+ + + + +
+ + +
diff --git a/platform/commonUI/browse/res/templates/browse.html b/platform/commonUI/browse/res/templates/browse.html index 89bdd86ba9..3d3f22bd7d 100644 --- a/platform/commonUI/browse/res/templates/browse.html +++ b/platform/commonUI/browse/res/templates/browse.html @@ -20,7 +20,7 @@ at runtime from the About dialog for additional information. --> -
+