summaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-01 10:06:04 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-01 10:06:04 +0200
commit7481887db746fd2d6eefab021776b8abd4076429 (patch)
tree1c55bd7d354a52e3a1601cc78bb4ee37a579edc9 /app/Controllers/configureController.php
parent0d5a1f3a659b6f407b47859c794a662075e3f48e (diff)
Load feed configuration on the same page
Need improvements See https://github.com/marienfressinaud/FreshRSS/issues/646
Diffstat (limited to 'app/Controllers/configureController.php')
-rwxr-xr-xapp/Controllers/configureController.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index a7def6d9a..dd7a0a441 100755
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -90,6 +90,10 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
* Default values are empty strings unless specified.
*/
public function feedAction() {
+ if (Minz_Request::param('ajax')) {
+ $this->view->_useLayout(false);
+ }
+
$catDAO = new FreshRSS_CategoryDAO();
$this->view->categories = $catDAO->listCategories(false);