[horde] Alarms in Portal view

Bill Graham grahamcw at hurleybulldogs.com
Wed Oct 24 19:34:47 UTC 2007


Using last nights snapshot  10/23/07 - php 5.2.4

I am seeing strange behavior using kronolith alarms in portal view.
It appears that the alarms will not "fire" - no sounds or alerts occur  
in normal pportal view. If I am in imp - the alarms will fire.
What I surmized is that the alarm notification was tied to the portal  
frame  refresh - and this was not being done - only the xmlhttpd  
refreshes were occuring in portal view.
In horde/services/portal/index.php
a decision is made if the browser supports xmlhttpdreq - and if it  
does - then do not refresh the portal frame.

// Get refresh interval.
if (($r_time = $prefs->getValue('summary_refresh_time'))
     && !$browser->hasFeature('xmlhttpreq')) {
     $refresh_time = $r_time;
     $refresh_url = Horde::applicationUrl('services/portal/');
}

By removing the not condition on the xmlhttpreq test  -  
ie6/ie7/firefox all start refreshing the portal frame and the alarms  
fire.

As an adjunct to this xmlhttpdreq test - other portal objects that  
depend on full frame updates do not get updated.

I couldn't find anything in bugs on this -
Any assistance or insights would be appreciated.

thx
Bill

-- 
Bill Graham
Systems Administrator
Hurley Public Schools
Hurley,SD 57036
USA
http://www.hurleybulldogs.com
grahamcw at hurleybulldogs.com






----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1375 bytes
Desc: PGP Public Key
Url : http://lists.horde.org/archives/horde/attachments/20071024/92c510e3/attachment.bin 


More information about the horde mailing list