From 5c11456c7c4eed10bd1236c2748744e94239fb88 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Wed, 13 Jan 2016 14:01:29 +0000 Subject: [PATCH] fixed editor resizing upon attachment manipulation --- codepot/src/codepot/views/wiki_editx.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/codepot/src/codepot/views/wiki_editx.php b/codepot/src/codepot/views/wiki_editx.php index 11c332ec..9498bbf3 100644 --- a/codepot/src/codepot/views/wiki_editx.php +++ b/codepot/src/codepot/views/wiki_editx.php @@ -114,12 +114,15 @@ function populate_selected_files_for_adding () } populated_file_max_for_adding = f_no; + resize_editor (); } function cancel_out_add_file (no) { $('#wiki_edit_add_file_row_' + no).remove (); populated_file_obj_for_adding[no] = null; + + resize_editor (); } function kill_file (no)