From 6ba0bbe64d25497ff221885ea86b051c92dc8e11 Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Fri, 17 Feb 2012 17:25:59 +0100 Subject: [PATCH] Trig selectStop event on select method end --- www/include/js/jquery.Selection.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/include/js/jquery.Selection.js b/www/include/js/jquery.Selection.js index 626a5aba09..e2d7dbaaca 100644 --- a/www/include/js/jquery.Selection.js +++ b/www/include/js/jquery.Selection.js @@ -263,6 +263,12 @@ } }); + + if(typeof $this.options.selectStop === 'function') + { + $this.options.selectStop(jQuery.Event('selectStop'), $this); + } + return this; } };