diff options
author | Gregor Tätzner <gregor@freenet.de> | 2012-08-04 18:54:54 +0200 |
---|---|---|
committer | Gregor Tätzner <gregor@freenet.de> | 2012-08-04 18:54:54 +0200 |
commit | 82cfb232c2728eb7acbb0adbd12a84b6b46e4322 (patch) | |
tree | 7471e7dec607026e19972ffb358892fc2286a185 /ajax/deletefeed.php | |
parent | 91d194a5df74ba79e40fb1be8f87d79a506d2c85 (diff) |
Show or hide items in rightcontent when creating or deleting feeds
Diffstat (limited to 'ajax/deletefeed.php')
-rw-r--r-- | ajax/deletefeed.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ajax/deletefeed.php b/ajax/deletefeed.php index d31a9417d..71574aa1b 100644 --- a/ajax/deletefeed.php +++ b/ajax/deletefeed.php @@ -4,10 +4,10 @@ * * @author Alessandro Cosentino * Copyright (c) 2012 - Alessandro Cosentino <cosenal@gmail.com> -* +* * This file is licensed under the Affero General Public License version 3 or later. * See the COPYING-README file -* +* */ // Check if we are a user @@ -30,4 +30,7 @@ if(!$success) { exit(); } -OCP\JSON::success(array('data' => array( 'feedid' => $feedid ))); +$tmpl = new OCP\Template("news", "part.items.deleted"); +$part_items = $tmpl->fetchPage(); + +OCP\JSON::success(array('data' => array( 'feedid' => $feedid, 'part_items' => $part_items ))); |