From 039f204523785e97dec571bcf0494d54ca757d5c Mon Sep 17 00:00:00 2001 From: prashant Date: Fri, 10 Apr 2015 15:11:10 +0530 Subject: Disabled dispay chapters --- run.inc | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/run.inc b/run.inc index 6181192..6573de5 100755 --- a/run.inc +++ b/run.inc @@ -158,23 +158,23 @@ function textbook_companion_run_form($form_state, $pref_id = NULL) '#type' => 'item', '#value' => l('Download', 'download/book/' . $book_default_value) . ' ' . t('(Download the DWSIM codes for all the solved examples)'), ); - $form['run']['chapter'] = array( - '#type' => 'select', - '#title' => t('Title of the Chapter'), - '#options' => _list_of_chapters($book_default_value), - '#default_value' => $chapter_default_value, - '#tree' => TRUE, - '#ahah' => array( - 'event' => 'change', - 'effect' => 'none', - 'path' => ahah_helper_path(array('run')), - 'wrapper' => 'run-wrapper', - 'progress' => array( - 'type' => 'throbber', - 'message' => t(''), - ), - ), - ); + // $form['run']['chapter'] = array( + // '#type' => 'select', + // '#title' => t('Title of the Chapter'), + // '#options' => _list_of_chapters($book_default_value), + // '#default_value' => $chapter_default_value, + // '#tree' => TRUE, + // '#ahah' => array( + // 'event' => 'change', + // 'effect' => 'none', + // 'path' => ahah_helper_path(array('run')), + // 'wrapper' => 'run-wrapper', + // 'progress' => array( + // 'type' => 'throbber', + // 'message' => t(''), + // ), + // ), + // ); if ($chapter_default_value > 0) { $form['run']['download_chapter'] = array( -- cgit