6.0.0-beta1
7/6/25

[#8886] Notifications do not show in setup/config
Summary Notifications do not show in setup/config
Queue Horde Base
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners Horde Developers (at) , slusarz (at) horde (dot) org
Requester mrubinsk (at) horde (dot) org
Created 02/26/2010 (5609 days ago)
Due
Updated 03/12/2010 (5595 days ago)
Assigned
Resolved 03/12/2010 (5595 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/12/2010 10:22:12 PM Michael Slusarz Comment #3
State ⇒ Resolved
Reply to this comment
Fixed by moving the rendering code further down the page.  I don't 
know enough about the Horde_Form code to fix this there.  But 
Horde_Form shouldn't be adding javascript to the page at all - 
inserting javascript into the page should be the sole responsibility 
of the called script.
02/26/2010 04:36:44 PM Michael Rubinsky Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Assigned to Horde DevelopersHorde Developers
Assigned to Michael Slusarz
Queue ⇒ Horde Base
Summary ⇒ Notifications do not show in setup/config
Type ⇒ Bug
State ⇒ Assigned
Reply to this comment
the $notification->push() call in horde/templates/admin/menu.inc is 
causing a js error:

document.observe is not a function
http://localhost/horde/admin/setup/config.php?app=horde
Line 25

It's due to the fact that prototype is loaded after this is output to 
the browser.  I tried tracing this, and I *think* it's an issue 
similar to one I had in Ansel where I was using output buffering to 
get some HTML output before common-header was sent.  I think that in   
admin/config.php when $form is generated by Util::bufferOutput(), this 
confuses the code that determines if we can send the javascript to the 
browser.  In Ansel, I fixed this by shuffling around where 
common-header was output in relation to the javascript being added 
etc... but I can't seem to figure this particular case out...  I'll 
keep trying, but someone with more familiarity with the notification 
code will probably be quicker at this.

Saved Queries