Mark Lenser pushed to branch feature/visual-editing-psp1-CHANELLMGR-919 at 
cms-community / hippo-addon-channel-manager


Commits:
0853a665 by Mark at 2016-11-22T17:02:12+01:00
CHANNELMGR-919 let tobi rename

- - - - -
f81a81ee by Mark at 2016-11-23T10:31:00+01:00
CHANNELMGR-919 translations

- - - - -


2 changed files:

- 
frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/rightSidePanel.component.js
- frontend-ng/src/i18n/en.json


Changes:

=====================================
frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/rightSidePanel.component.js
=====================================
--- 
a/frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/rightSidePanel.component.js
+++ 
b/frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/rightSidePanel.component.js
@@ -58,9 +58,9 @@ export class ChannelRightSidePanelCtrl {
             this._resizeTextareas();
           });
       })
-      .catch((response) => {
-        if (response) {
-          this.doc = response.data;
+      .catch((error) => {
+        if (error) {
+          this.doc = error.data;
           this.state = this.doc.info.editing.state;
         } else {
           this.state = 'UNAVAILABLE_CONTENT';


=====================================
frontend-ng/src/i18n/en.json
=====================================
--- a/frontend-ng/src/i18n/en.json
+++ b/frontend-ng/src/i18n/en.json
@@ -66,6 +66,11 @@
   "ERROR_SITEMAP_RETRIEVAL_FAILED": "Failed to retrieve the sitemap for the 
current channel",
   "ERROR_UPDATE_COMPONENT": "Failed to edit this component",
   "ERROR_UPDATE_COMPONENT_ITEM_ALREADY_LOCKED": "Cannot update component: the 
container is locked by '{{lockedBy}}'",
+  "ERROR_CARDINALITY_CHANGE": "Unable to save. The document contains invalid 
content",
+  "ERROR_HOLDERSHIP_LOST": "Unable to save. The document is no longer yours to 
edit",
+  "ERROR_INVALID_DATA": "Unable to save. The document contains invalid 
content",
+  "ERROR_NOT_HOLDER": "Unable to save. The document isn't yours to edit",
+  "ERROR_UNABLE_TO_SAVE": "Unable to save",
   "EXPAND": "Expand",
   "EXPERIMENT_LABEL_COMPLETED": "Experiment completed",
   "EXPERIMENT_LABEL_CREATED": "Experiment created",



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/compare/cf579eb7fc74b1423fc3bd773c9d5ee8678a3a9b...f81a81eebeca1ea3151cc76df1d2ff6b5958622a
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to