Skip to main content

Bug Tracker

Side navigation

#6117 closed bug (invalid)

Opened February 18, 2010 11:21AM UTC

Closed February 18, 2010 11:31AM UTC

re-initialization of plugin

Reported by: cyburk Owned by:
Priority: Milestone: 1.4.2
Component: core Version: 1.4.1
Keywords: re-initialization Cc:
Blocked by: Blocking:

see following example code:

(function($) {

$.plugin = {

key: value,

pluginCallback: undefined,

init: function(callback) {

$.plugin.pluginCallback = callback;




when the plugin loads for the first time, $.plugin.pluginCallback is set to undefined.

after calling $.plugin.init(function(){doSomething();}); pluginCallback is set to the anonymous callback function; however somehow (haven't had time to investigate further) the plugin is initialized again and thus pluginCallback starts to be undefined again.

Attachments (0)
Change History (1)

Changed February 18, 2010 11:31AM UTC by john comment:1

resolution: → invalid
status: newclosed

Perhaps you're calling init again with no callback? You should bring this up for discussion on the forum: