summaryrefslogtreecommitdiff
path: root/run.inc
diff options
context:
space:
mode:
authorSashi202017-10-03 15:42:22 +0530
committerGitHub2017-10-03 15:42:22 +0530
commit0dd2320fdc12ddfde900e45ac937d7675e271ddc (patch)
treeae0c66160efb55155f5f91abfee4cf2740df708b /run.inc
parent1f565cbcd128f31280da4f07dceda0e69cace8f9 (diff)
parent4fad355a3f1ae72875208c59ac377c06f03455ae (diff)
downloaddwsim_flowsheet-0dd2320fdc12ddfde900e45ac937d7675e271ddc.tar.gz
dwsim_flowsheet-0dd2320fdc12ddfde900e45ac937d7675e271ddc.tar.bz2
dwsim_flowsheet-0dd2320fdc12ddfde900e45ac937d7675e271ddc.zip
Merge pull request #17 from Sashi20/drupal_7.x
Fixed issue of Full Download
Diffstat (limited to 'run.inc')
-rwxr-xr-xrun.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/run.inc b/run.inc
index 63bb870..929334e 100755
--- a/run.inc
+++ b/run.inc
@@ -58,7 +58,7 @@ function dwsim_flowsheet_project_details_callback($form, $form_state)
$flowsheet_details = _flowsheet_information($flowsheet_default_value);
$provider = user_load($flowsheet_details->uid);
if ($flowsheet_details->uid > 0) {
- $commands[] = ajax_command_html('#ajax_selected_flowsheet', l('Download Flowsheet', 'flowsheeting-project/full-download/project/' . $flowsheet_default_valuei,array('attributes' => array('title' => 'This is a zip file containing a pdf (abstract) and a dwxml/dwxmz file which is the DWSIM flow sheet which is to be viewed by right clicking on the file and opening with DWSIM.'))));
+ $commands[] = ajax_command_html('#ajax_selected_flowsheet', l('Download Flowsheet', 'flowsheeting-project/full-download/project/' . $flowsheet_default_value,array('attributes' => array('title' => 'This is a zip file containing a pdf (abstract) and a dwxml/dwxmz file which is the DWSIM flow sheet which is to be viewed by right clicking on the file and opening with DWSIM.'))));
} //$flowsheet_details->uid > 0
else {
$commands[] = ajax_command_html('#ajax_selected_flowsheet', '');