summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-13 10:57:36 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-13 10:57:36 -0500
commit70557833a7cad62c3e68af3c7df1a4d51e64d20b (patch)
tree2202442ee9fbfa868808ce9745d40061baa159d6 /app/Controller
parent047236711e0e92a4d00d3009eb2fccf97b78a538 (diff)
parent71dc812ae679b7940e70aa85990667c217a6a510 (diff)
Merge pull-request #1837
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Customfilter.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/Controller/Customfilter.php b/app/Controller/Customfilter.php
index da7eb77b..41da0b11 100644
--- a/app/Controller/Customfilter.php
+++ b/app/Controller/Customfilter.php
@@ -57,6 +57,23 @@ class Customfilter extends Base
}
/**
+ * Confirmation dialog before removing a custom filter
+ *
+ * @access public
+ */
+ public function confirm()
+ {
+ $project = $this->getProject();
+ $filter = $this->customFilter->getById($this->request->getIntegerParam('filter_id'));
+
+ $this->response->html($this->helper->layout->project('custom_filter/remove', array(
+ 'project' => $project,
+ 'filter' => $filter,
+ 'title' => t('Remove a custom filter')
+ )));
+ }
+
+ /**
* Remove a custom filter
*
* @access public