Browse Source

Chado Nodes: set weight to 10 for prop/dbxref/rel fieldsets

Lacey Sanderson 11 years ago
parent
commit
9d74440468

+ 2 - 1
tripal_core/api/tripal_core.chado_nodes.dbxrefs.api.inc

@@ -149,7 +149,8 @@ function chado_node_additional_dbxrefs_form(&$form, &$form_state, $details) {
       as many database references as desired by clicking the add button on the right.  To
       remove a database reference, click the remove button. ' . $details['additional_instructions']),
     '#prefix' => "<div id='addtl-dbxrefs-fieldset'>",
-    '#suffix' => '</div>'
+    '#suffix' => '</div>',
+    '#weight'      => 10
   );
 
   // this form element is a tree, so that we don't puke all of the values into then node variable

+ 2 - 1
tripal_core/api/tripal_core.chado_nodes.properties.api.inc

@@ -510,7 +510,8 @@ function chado_node_properties_form(&$form, &$form_state, $details) {
       clicking the add button on the right. To remove a property, click the remove button.
       To add additional properties to the drop down. ' . $details['additional_instructions']),
     '#prefix' => "<div id='properties-fieldset'>",
-    '#suffix' => '</div>'
+    '#suffix' => '</div>',
+    '#weight'      => 10
   );
 
   // this form element is a tree, so that we don't puke all of the values into then node variable

+ 2 - 1
tripal_core/api/tripal_core.chado_nodes.relationships.api.inc

@@ -190,7 +190,8 @@ function chado_node_relationships_form(&$form, &$form_state, $details) {
       remove a relationship, click the remove button. ' . $details['additional_instructions'],
       array('%nodetype' => $details['nodetype'], '%nodetype_plural' => $details['nodetype_plural'])),
     '#prefix' => "<div id='relationships-fieldset'>",
-    '#suffix' => '</div>'
+    '#suffix' => '</div>',
+    '#weight'      => 10
   );
 
   // this form element is a tree, so that we don't puke all of the values into then node variable