fixed editor resizing upon attachment manipulation

This commit is contained in:
hyung-hwan 2016-01-13 14:01:29 +00:00
parent 590e7ac1d7
commit 5c11456c7c

View File

@ -114,12 +114,15 @@ function populate_selected_files_for_adding ()
} }
populated_file_max_for_adding = f_no; populated_file_max_for_adding = f_no;
resize_editor ();
} }
function cancel_out_add_file (no) function cancel_out_add_file (no)
{ {
$('#wiki_edit_add_file_row_' + no).remove (); $('#wiki_edit_add_file_row_' + no).remove ();
populated_file_obj_for_adding[no] = null; populated_file_obj_for_adding[no] = null;
resize_editor ();
} }
function kill_file (no) function kill_file (no)