[Cartoweb-dev] [Bug 1753] New: initializing AJAX plugins
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Wed Jul 18 09:18:50 EDT 2007
http://bugzilla.maptools.org/show_bug.cgi?id=1753
Summary: initializing AJAX plugins
Product: CartoWeb
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: cartoweb-dev at lists.maptools.org
ReportedBy: pierre.giraud at camptocamp.com
This was reported by Frederic Back in the dev mailing list :
{{{
Hello,
I am currently developing a plugin that uses ajax, and I'd like the js
object to be initialised at startup.
Currently, plugins like the tooltips or the location plugin get
initialised manually in the init method of AjaxPlugins.js.
To solve this, I extended the AjaxPlugins class to allow other plugins
to register themselves to be triggered during startup. A patch against
current HEAD should be attached to this email.
Custom plugins can now registering themselves by appending themselves to
the initialisation list during startup, ie. like this:
AjaxPlugins.initializablePlugins.push(AjaxPlugins.MyCustomPlugin);
Cheers,
Fred
}}}
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the Cartoweb-dev
mailing list