summaryrefslogtreecommitdiff
path: root/skins/default/splitter.js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-04-15 16:21:23 +0000
committerthomascube <thomas@roundcube.net>2011-04-15 16:21:23 +0000
commit9e1daa4c454cdfbb58051dfb2629ea497edf6fbd (patch)
treee941199820940af0f438ec39cc8c8fde5e07095b /skins/default/splitter.js
parentd476d3a3a42b2cda5c88d935eced1e443e21bd48 (diff)
Move folder name truncation to client (#1485412)
Diffstat (limited to 'skins/default/splitter.js')
-rw-r--r--skins/default/splitter.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/skins/default/splitter.js b/skins/default/splitter.js
index e11f9fea5..59ebb5151 100644
--- a/skins/default/splitter.js
+++ b/skins/default/splitter.js
@@ -15,6 +15,7 @@ function rcube_splitter(attrib)
this.pos = attrib.start ? attrib.start * 1 : 0;
this.relative = attrib.relative ? true : false;
this.drag_active = false;
+ this.callback = attrib.callback;
this.init = function()
{
@@ -168,6 +169,9 @@ function rcube_splitter(attrib)
this.set_cookie();
+ if (typeof this.callback == 'function')
+ this.callback(this);
+
return bw.safari ? true : rcube_event.cancel(e);
};