From 5b116449be1c5d0342ce197cbc2eab2c5d16b5aa Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Fri, 29 Jul 2016 15:19:58 -0400 Subject: move project releases to tab, misc editor cleanups --- data/assets/js/admin/dialogs/post-edit.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'data/assets/js/admin') diff --git a/data/assets/js/admin/dialogs/post-edit.js b/data/assets/js/admin/dialogs/post-edit.js index 01baba1..3b20c7a 100644 --- a/data/assets/js/admin/dialogs/post-edit.js +++ b/data/assets/js/admin/dialogs/post-edit.js @@ -60,6 +60,9 @@ jQuery(function($) { me.find('.modal-body').addClass('hidden'); me.find('.modal-body.loading-text').removeClass('hidden'); + // show content tab + me.find(p + 'tab-content').click(); + send(id + '/get', { post_id: me.data('post_id') }).always(function() { -- cgit v1.2.3