From 3c7fbbef22035a228293a3baf79b0d185a8f2393 Mon Sep 17 00:00:00 2001
From: Vincent Petry <pvince81@owncloud.com>
Date: Fri, 15 Aug 2014 12:43:24 +0200
Subject: [PATCH] Do not close container/slider when clicking on single select
 field

---
 core/js/singleselect.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/core/js/singleselect.js b/core/js/singleselect.js
index 79ae0874db..1b2016aabb 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);
-- 
GitLab