aboutsummaryrefslogtreecommitdiff
path: root/data/assets/js/admin/dialogs/post-edit.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/assets/js/admin/dialogs/post-edit.js')
-rw-r--r--data/assets/js/admin/dialogs/post-edit.js3
1 files changed, 3 insertions, 0 deletions
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() {