Add static getter for splitter objects

pull/1/head
thomascube 13 years ago
parent a4e71c5c38
commit 3a86e26768

@ -817,6 +817,7 @@ function rcube_splitter(p)
this.callback = p.callback;
var me = this;
rcube_splitter._instances[this.id] = me;
this.init = function()
{
@ -1018,3 +1019,11 @@ function rcube_splitter(p)
} // end class rcube_splitter
// static getter for splitter instances
rcube_splitter._instances = {};
rcube_splitter.get_instance = function(id)
{
return rcube_splitter._instances[id];
};

Loading…
Cancel
Save