Addressed code review points

This commit is contained in:
Henry 2016-04-14 16:04:15 -07:00
parent 26e368f52d
commit 8c3616da32
2 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ define(
if (countEditableViews(editableObject) > 0 && editableObject.hasCapability('composition')) { if (countEditableViews(editableObject) > 0 && editableObject.hasCapability('composition')) {
this.navigationService.setNavigation(editableObject); this.navigationService.setNavigation(editableObject);
} else { } else {
return editableObject.getCapability('action').perform('save-as'); return editableObject.getCapability('action').perform('save');
} }
}; };

View File

@ -171,10 +171,10 @@ define([
"priority": "mandatory" "priority": "mandatory"
}, },
{ {
"key": "save-as", "key": "save",
"category": "conclude-editing", "category": "conclude-editing",
"implementation": SaveAsAction, "implementation": SaveAsAction,
"name": "Save As", "name": "Save",
"description": "Save changes made to these objects.", "description": "Save changes made to these objects.",
"depends": [ "depends": [
"$injector", "$injector",