Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

Commit d660ee4

Browse files
committed
[WIP] Waiting for API
1 parent 57498d8 commit d660ee4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Resources/public/js/views/services/plugins/ez-versionsplugin.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ YUI.add('ez-versionsplugin', function (Y) {
3838
this.onHostEvent('*:createDraft', this._createDraftFromArchivedVersion);
3939
this.onHostEvent('*:deleteVersion', this._confirmDeleteVersion);
4040
this.onHostEvent('*:editVersion', this._redirectToEditVersion);
41+
this.onHostEvent('*:restoreVersionInLanguage', this._restoreVersionInLanguage);
42+
},
43+
44+
_restoreVersionInLanguage: function (e) {
45+
console.log('No API yet to do that', e);
4146
},
4247

4348
/**

0 commit comments

Comments
 (0)