From 8c3616da32146a21d2613bea86515cfe2921adcb Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 14 Apr 2016 16:04:15 -0700 Subject: [PATCH] Addressed code review points --- platform/commonUI/browse/src/creation/CreateAction.js | 2 +- platform/commonUI/edit/bundle.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/commonUI/browse/src/creation/CreateAction.js b/platform/commonUI/browse/src/creation/CreateAction.js index dd8f227446..83d88ba709 100644 --- a/platform/commonUI/browse/src/creation/CreateAction.js +++ b/platform/commonUI/browse/src/creation/CreateAction.js @@ -103,7 +103,7 @@ define( if (countEditableViews(editableObject) > 0 && editableObject.hasCapability('composition')) { this.navigationService.setNavigation(editableObject); } else { - return editableObject.getCapability('action').perform('save-as'); + return editableObject.getCapability('action').perform('save'); } }; diff --git a/platform/commonUI/edit/bundle.js b/platform/commonUI/edit/bundle.js index 7c8f45eb81..a67125b9b9 100644 --- a/platform/commonUI/edit/bundle.js +++ b/platform/commonUI/edit/bundle.js @@ -171,10 +171,10 @@ define([ "priority": "mandatory" }, { - "key": "save-as", + "key": "save", "category": "conclude-editing", "implementation": SaveAsAction, - "name": "Save As", + "name": "Save", "description": "Save changes made to these objects.", "depends": [ "$injector",