From: Vincent Petry Date: Fri, 15 Aug 2014 10:43:24 +0000 (+0200) Subject: Do not close container/slider when clicking on single select field X-Git-Tag: v8.0.0alpha1~876^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3c7fbbef22035a228293a3baf79b0d185a8f2393;p=nextcloud-server.git Do not close container/slider when clicking on single select field --- diff --git a/core/js/singleselect.js b/core/js/singleselect.js index 79ae0874dbd..1b2016aabb9 100644 --- a/core/js/singleselect.js +++ b/core/js/singleselect.js @@ -87,6 +87,10 @@ $(this).tipsy('hide'); } }); + input.click(function(ev) { + // prevent clicks to close any container + ev.stopPropagation(); + }); }); }; })(jQuery);