--HR-235 rowDisplayCount tweak
authorNileema <nileema@nileema.(none)>
Tue, 4 Feb 2014 09:11:50 +0000 (14:41 +0530)
committerNileema <nileema@nileema.(none)>
Tue, 4 Feb 2014 09:11:50 +0000 (14:41 +0530)
CRM/Custom/Import/Form/MapField.php

index baf039663b7f7942cb0511c0b1cc8503c62300cb..7fe922d634faf5d2d451f6c084f59119505abc94 100644 (file)
@@ -34,13 +34,10 @@ class CRM_Custom_Import_Form_MapField extends CRM_Contact_Import_Form_MapField {
       //showColNames needs to be true to show "Column Names" column
       $this->assign('showColNames', $skipColumnHeader);
       $this->assign('columnNames', $columnNames);
-      $this->assign('rowDisplayCount', 3);
       /* if we had a column header to skip, stash it for later */
       $this->_columnHeaders = $this->_dataValues[0];
     }
-    else {
-      $this->assign('rowDisplayCount', 2);
-    }
+    $this->assign('rowDisplayCount', 2);
     $this->assign('highlightedFields', $this->_highlightedFields);
   }