Commit f8606c198591261c970d7a346e3607a1ccf8f3c3
1 parent
c8de4448
Remove 'Add' button on bulk downloads page
PT:2631901 Removed the add button on the bulk upload and bulk import page. Updated by: Charl Joseph Mert
Showing
2 changed files
with
0 additions
and
22 deletions
plugins/multiselect/BulkImport.php
| @@ -176,17 +176,6 @@ class InetBulkImportFolderMultiSelectAction extends KTFolderAction { | @@ -176,17 +176,6 @@ class InetBulkImportFolderMultiSelectAction extends KTFolderAction { | ||
| 176 | 'simple_select' => false, | 176 | 'simple_select' => false, |
| 177 | )); | 177 | )); |
| 178 | 178 | ||
| 179 | - //Adding the quick "add" button for when no meta data needs to be added. | ||
| 180 | - //FIXME: This widget should only display if there are any "required" fields for the given document type | ||
| 181 | - // Default/general document field type must also be taken into consideration | ||
| 182 | - | ||
| 183 | - $widgets[] = $oWF->get('ktcore.widgets.button',array( | ||
| 184 | - 'value' => _kt('Add'), | ||
| 185 | - 'id' => 'quick_add', | ||
| 186 | - 'description' => _kt('If you do not need to modify any the metadata for this document (see below), then you can simply click "Add" here to finish the process and add the document.'), | ||
| 187 | - 'name' => 'btn_quick_submit', | ||
| 188 | - )); | ||
| 189 | - | ||
| 190 | $oFReg =& KTFieldsetRegistry::getSingleton(); | 179 | $oFReg =& KTFieldsetRegistry::getSingleton(); |
| 191 | 180 | ||
| 192 | $activesets = KTFieldset::getGenericFieldsets(); | 181 | $activesets = KTFieldset::getGenericFieldsets(); |
plugins/multiselect/BulkUpload.php
| @@ -202,17 +202,6 @@ class InetBulkUploadFolderAction extends KTFolderAction { | @@ -202,17 +202,6 @@ class InetBulkUploadFolderAction extends KTFolderAction { | ||
| 202 | 'simple_select' => false, | 202 | 'simple_select' => false, |
| 203 | )); | 203 | )); |
| 204 | 204 | ||
| 205 | - //Adding the quick "add" button for when no meta data needs to be added. | ||
| 206 | - //FIXME: This widget should only display if there are any "required" fields for the given document type | ||
| 207 | - // Default/general document field type must also be taken into consideration | ||
| 208 | - | ||
| 209 | - $widgets[] = $oWF->get('ktcore.widgets.button',array( | ||
| 210 | - 'value' => _kt('Add'), | ||
| 211 | - 'id' => 'quick_add', | ||
| 212 | - 'description' => _kt('If you do not need to modify any the metadata for this document (see below), then you can simply click "Add" here to finish the process and add the document.'), | ||
| 213 | - 'name' => 'btn_quick_submit', | ||
| 214 | - )); | ||
| 215 | - | ||
| 216 | $oFReg =& KTFieldsetRegistry::getSingleton(); | 205 | $oFReg =& KTFieldsetRegistry::getSingleton(); |
| 217 | 206 | ||
| 218 | $activesets = KTFieldset::getGenericFieldsets(); | 207 | $activesets = KTFieldset::getGenericFieldsets(); |