mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
- Added new directory public/js/components/filter/
- Moved component public/js/components/Filter.js to public/js/components/filter/ - Moved API calls from public/js/components/filter/Filter.js to public/js/components/filter/API.js - public/js/components/filter/Filter.js now imports public/js/components/filter/API.js
This commit is contained in:
@@ -162,13 +162,13 @@ class Filter extends FHC_Controller
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove a custom filter by its filter_id
|
||||
* Remove a custom filter by its filterId
|
||||
*/
|
||||
public function removeCustomFilter()
|
||||
{
|
||||
$filter_id = $this->input->post('filter_id');
|
||||
$filterId = $this->input->post('filterId');
|
||||
|
||||
if ($this->filtercmptlib->removeCustomFilter($filter_id) == true)
|
||||
if ($this->filtercmptlib->removeCustomFilter($filterId) == true)
|
||||
{
|
||||
$this->outputJsonSuccess('Removed');
|
||||
}
|
||||
@@ -243,7 +243,7 @@ class Filter extends FHC_Controller
|
||||
array(
|
||||
'filterUniqueId' => $filterUniqueId,
|
||||
'filterType' => $filterType,
|
||||
'filterId' => $this->input->get('filter_id')
|
||||
'filterId' => $this->input->get('filterId')
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user