@seafile/sdoc-editor 0.1.154-beta4 → 0.1.154-beta5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -114,7 +114,7 @@ var SimpleEditor = function SimpleEditor(_ref) {
114
114
  var unsubscribeMergeDocumentError = eventBus.subscribe(EXTERNAL_EVENT.DOCUMENT_REPLACED_ERROR, onError);
115
115
  var unsubscribePublishDocumentError = eventBus.subscribe(EXTERNAL_EVENT.PUBLISH_DOCUMENT_ERROR, onError);
116
116
  var unsubscribeRemoveDocument = eventBus.subscribe(EXTERNAL_EVENT.REMOVE_DOCUMENT, onDocumentRemoved);
117
- var unsubscribeRemoveDocumentError = eventBus.subscribe(EXTERNAL_EVENT.REMOVE_DOCUMENT, onError);
117
+ var unsubscribeRemoveDocumentError = eventBus.subscribe(EXTERNAL_EVENT.REMOVE_DOCUMENT_ERROR, onError);
118
118
  return function () {
119
119
  unsubscribeMergeDocument();
120
120
  unsubscribePublishDocument();
@@ -275,7 +275,6 @@ var SimpleEditor = function SimpleEditor(_ref) {
275
275
  var originFileURL = context.getSetting('originFileURL');
276
276
  jumpToURL(originFileURL);
277
277
  }).catch(function (error) {
278
- console.log(error);
279
278
  toaster.danger(t('Error'));
280
279
  });
281
280
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "0.1.154beta4",
3
+ "version": "0.1.154beta5",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",