[Tickets #9655] Re: ajax blockAutoUpdate returns "Horde is not activated"
bugs at horde.org
bugs at horde.org
Fri Mar 11 10:17:41 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9655
------------------------------------------------------------------------------
Ticket | 9655
Updated By | imp at lx-soft.com
Summary | ajax blockAutoUpdate returns "Horde is not activated"
Queue | Horde Framework Packages
Version | Git master
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
imp at lx-soft.com (2011-03-11 10:17) wrote:
This bug is at least two distinct issue:
1. Refresh rate is set to never.
This value is not handled correctly, because ajax is used.
2. Ajax reloading does not work as expected
For the first issue, I've the following patch:
--- Core/Block/Layout/View.php.orig 2011-03-11 11:16:08.000000000 +0100
+++ Core/Block/Layout/View.php 2011-03-11 11:10:35.000000000 +0100
@@ -105,6 +105,8 @@
$refresh_time =
isset($item['params']['params']['_refresh_time'])
?
$item['params']['params']['_refresh_time']
: $interval;
+
+ if ($refresh_time>0) {
$updateurl =
Horde::getServiceLink('ajax', 'horde');
$updateurl->pathInfo = 'blockAutoUpdate';
@@ -120,6 +122,7 @@
'}, ' . intval($refresh_time *
1000) . ')',
'dom'
);
+ }
}
} else {
$html .= '<td width="' . ($width *
$colspan) . '%"> </td>';
More information about the bugs
mailing list