Browse Source

Fixed bugs with pub module and feature module

Stephen Ficklin 10 years ago
parent
commit
c8fec206bb

+ 1 - 1
tripal_feature/theme/tripal_feature.theme.inc

@@ -389,7 +389,7 @@ function tripal_feature_color_sequence($sequence, $parts, $defline) {
   // set the background color of the rows based on the type
   $pos = 0;
   $newseq .= "<pre class=\"tripal_feature-sequence\">";
-  $newseq .= ">$defline\n";
+  $newseq .= ">$defline<br>";
 
   // iterate through the parts. They should be in order.
   $starts   = array(); // an array holding all of the children starting locations

+ 3 - 1
tripal_pub/includes/tripal_pub.pub_importers.inc

@@ -776,7 +776,9 @@ function theme_tripal_pub_importer_setup_form_elements($variables) {
   $table = array(
     'header' => $headers,
     'rows' => $rows,
-    'attributes' => array('class' => 'tripal-data-table'),
+    'attributes' => array(
+      'class' => array('tripal-data-table')
+    ),
     'sticky' => TRUE,
     'caption' => '',
     'colgroups' => array(),

+ 1 - 1
tripal_pub/includes/tripal_pub.pub_search.inc

@@ -93,7 +93,7 @@ function tripal_pub_search_page() {
       'attributes' => array(
         'id' => 'tripal-pub-search-results-table', 
         'border' => '0',
-        'class' => 'tripal-data-table'
+        'class' => array('tripal-data-table')
       ),
       'sticky' => TRUE,
       'caption' => '',