aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Cards.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-23 21:26:09 -0700
committerzotlabs <mike@macgirvin.com>2017-08-23 21:26:09 -0700
commit4450170790de3999dc9c6f8876074e76edee8241 (patch)
tree556fccb00499add4268566956541692db68606f2 /Zotlabs/Module/Cards.php
parent66b032823b4fd941f613b0194bb8412b216cc748 (diff)
downloadvolse-hubzilla-4450170790de3999dc9c6f8876074e76edee8241.tar.gz
volse-hubzilla-4450170790de3999dc9c6f8876074e76edee8241.tar.bz2
volse-hubzilla-4450170790de3999dc9c6f8876074e76edee8241.zip
partial support (unfinished) for ajax loading cards with liveupdate; page still functions even though this isn't finished
Diffstat (limited to 'Zotlabs/Module/Cards.php')
-rw-r--r--Zotlabs/Module/Cards.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/Zotlabs/Module/Cards.php b/Zotlabs/Module/Cards.php
index f354544d5..19932769f 100644
--- a/Zotlabs/Module/Cards.php
+++ b/Zotlabs/Module/Cards.php
@@ -19,8 +19,7 @@ class Cards extends \Zotlabs\Web\Controller {
}
-
- function get() {
+ function get($update = 0, $load = false) {
if(observer_prohibited(true)) {
return login();
@@ -173,7 +172,7 @@ class Cards extends \Zotlabs\Web\Controller {
$items = [];
}
- $mode = 'channel';
+ $mode = 'cards';
$content = conversation($items,$mode,false,'traditional');