FIX: Attach to the post so widgets can extend it better
This commit is contained in:
parent
30dc14de7d
commit
70b417272a
|
@ -57,7 +57,7 @@ export default {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
api.attachWidgetAction('post-admin-menu', 'showStaffNotes', widgetShowStaffNotes);
|
api.attachWidgetAction('post', 'showStaffNotes', widgetShowStaffNotes);
|
||||||
|
|
||||||
api.createWidget('staff-notes-icon', {
|
api.createWidget('staff-notes-icon', {
|
||||||
tagName: 'span.staff-notes-icon',
|
tagName: 'span.staff-notes-icon',
|
||||||
|
|
Loading…
Reference in New Issue