summaryrefslogtreecommitdiff
path: root/skins/larry
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-02-01 07:55:16 +0000
committerthomascube <thomas@roundcube.net>2012-02-01 07:55:16 +0000
commit3a86e26768108bcd350a81582b8d631d307dd1c2 (patch)
tree39af175deb0f02282db862a4de68154c9b680619 /skins/larry
parenta4e71c5c389336852bcca8bc729f67f5ce13cdd0 (diff)
Add static getter for splitter objects
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];
+};
+