summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashantsinalkar2017-03-23 12:12:13 +0530
committerprashantsinalkar2017-03-23 12:12:13 +0530
commite3a1bb3a25ed745d039ebf0bb328cc9cd2745af9 (patch)
tree5ae26c6478d712d694a9fc5b19102832ac21b34f
parent1aaeeeb967541c74669520cd906f40c7fff44efa (diff)
downloaddwsim_flowsheet-e3a1bb3a25ed745d039ebf0bb328cc9cd2745af9.tar.gz
dwsim_flowsheet-e3a1bb3a25ed745d039ebf0bb328cc9cd2745af9.tar.bz2
dwsim_flowsheet-e3a1bb3a25ed745d039ebf0bb328cc9cd2745af9.zip
disabled add more submit button
-rwxr-xr-xupload_code.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/upload_code.inc b/upload_code.inc
index f830e65..e2bb22f 100755
--- a/upload_code.inc
+++ b/upload_code.inc
@@ -377,7 +377,7 @@ function dwsim_flowsheet_upload_abstract_code_form($form, &$form_state)
"#type" => "hidden",
"#value" => $temp
);
- $form['user_defined_compound_fieldset']['add_user_defined_compounds'] = array(
+ /*$form['user_defined_compound_fieldset']['add_user_defined_compounds'] = array(
'#type' => 'submit',
'#value' => t('Add more compounds'),
'#limit_validation_errors' => array(),
@@ -388,7 +388,7 @@ function dwsim_flowsheet_upload_abstract_code_form($form, &$form_state)
'callback' => 'user_defined_compounds_add_more_callback',
'wrapper' => 'user-defined-compounds-fieldset-wrapper'
)
- );
+ );*/
////////////////////////////
$existing_uploaded_udc_file = default_value_for_uploaded_files("UDC", $proposal_data->id);
if (!$existing_uploaded_udc_file)