ソースを参照

TripalImporter form: set default form element weight to keep them at the top of the form.

Lacey Sanderson 6 年 前
コミット
1f47df9a53
1 ファイル変更2 行追加0 行削除
  1. 2 0
      tripal/includes/tripal.importer.inc

+ 2 - 0
tripal/includes/tripal.importer.inc

@@ -21,6 +21,7 @@ function tripal_get_importer_form($form, &$form_state, $class) {
       '#type' => 'fieldset',
       '#title' => t($class::$upload_title),
       '#description' => t($class::$upload_description)
+      '#weight' => -15,
     );
   }
 
@@ -91,6 +92,7 @@ function tripal_get_importer_form($form, &$form_state, $class) {
         'a minimum it indicates the source of the data.'),
       '#required' => $class::$require_analysis,
       '#options' => $analyses,
+      '#weight' => -14,
     );
   }