From a947eb03fc1511965f017109a970698a8e022331 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Mon, 19 Sep 2016 17:18:14 -0700 Subject: [PATCH] Remaining straggler createPost() to startCreatePostFlow() See #284 --- js/customize-posts-panel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/customize-posts-panel.js b/js/customize-posts-panel.js index 1381b6f..3317b08 100644 --- a/js/customize-posts-panel.js +++ b/js/customize-posts-panel.js @@ -145,7 +145,7 @@ onClickAddPostButton: function onClickAddPostButton( event ) { var panel = this, button = $( event.target ); event.preventDefault(); - api.Posts.createPost( { + api.Posts.startCreatePostFlow( { postType: panel.postType, initiatingButton: button, restorePreviousUrl: false