diff options
author | Sashi20 | 2019-03-29 10:40:07 +0530 |
---|---|---|
committer | Sashi20 | 2019-03-29 10:40:07 +0530 |
commit | d0536f2f87005f0b2f646921541f32ec7fed1ebd (patch) | |
tree | 87b70d4999e65f674f87f0ce7bbc0e6d8dac27e6 | |
parent | 08f13958d245fe0d628ebd05618fcc4462c09b75 (diff) | |
download | DWSIM_lab_migration-d0536f2f87005f0b2f646921541f32ec7fed1ebd.tar.gz DWSIM_lab_migration-d0536f2f87005f0b2f646921541f32ec7fed1ebd.tar.bz2 DWSIM_lab_migration-d0536f2f87005f0b2f646921541f32ec7fed1ebd.zip |
Remove duplicate link to download the codes
-rwxr-xr-x | run.inc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -120,13 +120,13 @@ function lab_migration_run_form($form, &$form_state) '#markup' => '<div id="ajax_selected_lab_pdf">'. l('Download PDF of Lab Solutions', 'lab-migration/generate-lab/' . $lab_default_value . '/1') .'</div>', );*/ - if ($lab_default_value == '2') + /*if ($lab_default_value == '2') { $form['selected_lab_dwsim'] = array( '#type' => 'item', '#markup' => '<div id="ajax_selected_lab_dwsim">' . l('Download Lab Solutions (dwsim Version)', 'lab-migration-uploads/dwsim_Version.zip') . '</div>' ); - } + }*/ $form['lab_details'] = array( '#type' => 'item', '#markup' => '<div id="ajax_lab_details">' . _lab_details($lab_default_value) . '</div>' @@ -223,7 +223,7 @@ function ajax_experiment_list_callback($form, $form_state) if ($lab_details->solution_provider_uid > 0) { $commands[] = ajax_command_html('#ajax_selected_lab', l('Download Lab Solutions', 'lab-migration/download/lab/' . $lab_default_value)); - if ($lab_default_value == '2') + /*if ($lab_default_value == '2') { $commands[] = ajax_command_html('#ajax_selected_lab_dwsim', l('Download Lab Solutions (dwsim Version)', 'lab-migration_uploads/dwsim_Version.zip')); } |