fixed a bug of submitting yes when the unzip button is not checked in the code folder view
This commit is contained in:
parent
e49e69a84e
commit
c764164a49
@ -280,7 +280,10 @@ $(function () {
|
||||
var form_data = new FormData();
|
||||
|
||||
form_data.append ('code_new_message', $('#code_folder_mainarea_new_message').val());
|
||||
if ($('#code_folder_mainarea_new_item_unzip').is(':checked'))
|
||||
form_data.append ('code_new_item_unzip', $('#code_folder_mainarea_new_item_unzip').val());
|
||||
else
|
||||
form_data.append ('code_new_item_unzip', '');
|
||||
|
||||
var f_no = 0, d_no = 0, ef_no = 0;
|
||||
for (var i = 0; i <= new_item_no; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user