6.0.0-beta1
7/19/25
  • Error
    Ticket 13476 was not found.

[#10971] Core Ajax: autoload js libraries
Summary Core Ajax: autoload js libraries
Queue Horde Framework Packages
Queue Version Git master
Type Enhancement
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester slusarz (at) horde (dot) org
Created 02/08/2012 (4910 days ago)
Due
Updated 10/09/2013 (4301 days ago)
Assigned
Resolved 10/09/2013 (4301 days ago)
Milestone
Patch No

History
10/09/2013 09:13:17 PM Michael Slusarz Comment #3
State ⇒ Resolved
Reply to this comment
Horde_Core 2.10.0.
10/09/2013 09:13:05 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit ea5480e4eac80bd27d8074281099b8efee92e0da
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Wed Oct 9 14:20:07 2013 -0600

     [mms] Add ability to load javascript via a HordeCore AJAX 
response (Request #10971).

  framework/Core/js/hordecore.js                     |   17 ++++++++++++++++-
  .../lib/Horde/Core/Ajax/Response/HordeCore.php     |   18 ++++++++++++++++++
  framework/Core/lib/Horde/PageOutput.php            |    8 +++++++-
  framework/Core/package.xml                         |   10 ++++++----
  4 files changed, 47 insertions(+), 6 deletions(-)

http://git.horde.org/horde-git/-/commit/ea5480e4eac80bd27d8074281099b8efee92e0da
02/08/2012 07:42:31 AM Michael Slusarz Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Assigned to Michael Slusarz
Queue ⇒ Horde Framework Packages
Summary ⇒ Core Ajax: autoload js libraries
Type ⇒ Enhancement
State ⇒ Assigned
Reply to this comment
Add logic to Horde_Core_Ajax_Response that detects whether javascript 
libraries were requested to be added to script output and send this 
list of includes to the browser.  HordeCore library would determine if 
the script is loaded and autoload if not.

Would prevent the need to explicitly declare all JS files on base 
pages.  However, not sure if/how this can work if compressing JS files.

Saved Queries