diff options
author | akshay9085 | 2023-08-31 16:38:18 +0530 |
---|---|---|
committer | akshay9085 | 2023-08-31 16:38:18 +0530 |
commit | a84f1b7ee591b93dd32095197241c39911435ae4 (patch) | |
tree | 29e5224e5c0471053d679677d5587636a8e59a72 | |
parent | e47acbab3fa7718bad2cc78f99d0f3464c4e4fc8 (diff) | |
download | soul_science_and_concept_map_project-a84f1b7ee591b93dd32095197241c39911435ae4.tar.gz soul_science_and_concept_map_project-a84f1b7ee591b93dd32095197241c39911435ae4.tar.bz2 soul_science_and_concept_map_project-a84f1b7ee591b93dd32095197241c39911435ae4.zip |
Update dropdown displaying class names in proposal
-rwxr-xr-x | proposal.inc | 2 | ||||
-rwxr-xr-x | science_and_concept_map.module | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/proposal.inc b/proposal.inc index 53813d6..c11a630 100755 --- a/proposal.inc +++ b/proposal.inc @@ -404,7 +404,7 @@ function science_and_concept_map_proposal_form($form, &$form_state, $no_js_use = '#title' => t('The project is suitable for class (school education)/year of study(college education) '), // '#options' => '_tbc_list_of_main_categories()', '#options' =>_df_list_of_classes(), - '#default_value' => '-select-', + //'#default_value' => '-select-', '#tree' => TRUE, '#required' => TRUE ); diff --git a/science_and_concept_map.module b/science_and_concept_map.module index 0949bd2..4670a07 100755 --- a/science_and_concept_map.module +++ b/science_and_concept_map.module @@ -736,9 +736,7 @@ function _df_list_of_states() } function _df_list_of_classes() { - $class_name = array( - 0 => '-Select-' - ); + $class_name = array(); $query = db_select('class_table'); $query->fields('class_table'); $query->orderBy('id', 'ASC'); |