mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 09:52:09 +03:00
ff5af6c29b
closes #2419 - Added blur-text-field component, which fires actions on focusOut - Added utils/date-formatting for moment & date functionality consolidation - Added functionality to PostsPostController - Added fixtures: posts/3 & posts/4, posts/slug/test%20title/ - Added Post model saving - Set posts.post as controller for EditorRoute - Added PostSettingsMenuView and template - Added "showErrors" convenience method to notifications
10 lines
306 B
JavaScript
10 lines
306 B
JavaScript
import itemView from 'ghost/views/item-view';
|
|
|
|
var PostItemView = itemView.extend({
|
|
openEditor: function () {
|
|
this.get('controller').send('openEditor', this.get('controller.model')); // send action to handle transition to editor route
|
|
}.on("doubleClick")
|
|
});
|
|
|
|
export default PostItemView;
|