aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-07-29 15:19:58 -0400
committerPaul Duncan <pabs@pablotron.org>2016-07-29 15:19:58 -0400
commit5b116449be1c5d0342ce197cbc2eab2c5d16b5aa (patch)
tree769d2a2a9a74b87bda0370b1a10e7ea5ef7a3f91 /data
parent1d4c4b147d6b55600a55ede3942f94d52cfb7457 (diff)
downloadguff-5b116449be1c5d0342ce197cbc2eab2c5d16b5aa.tar.bz2
guff-5b116449be1c5d0342ce197cbc2eab2c5d16b5aa.zip
move project releases to tab, misc editor cleanups
Diffstat (limited to 'data')
-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() {