summaryrefslogtreecommitdiff
path: root/skins/larry
diff options
context:
space:
mode:
Diffstat (limited to 'skins/larry')
-rw-r--r--skins/larry/ui.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 1b03166c4..e870fe79b 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -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];
+};
+