aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/singleselect.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-08-15 12:43:24 +0200
committerVincent Petry <pvince81@owncloud.com>2014-08-15 12:44:00 +0200
commit3c7fbbef22035a228293a3baf79b0d185a8f2393 (patch)
treebd8cf0ed27ccf42bf520e333b847a968d118f4fb /core/js/singleselect.js
parent4220e0c7da091330f6a4f6a2e1669fb4ece482bd (diff)
downloadnextcloud-server-3c7fbbef22035a228293a3baf79b0d185a8f2393.tar.gz
nextcloud-server-3c7fbbef22035a228293a3baf79b0d185a8f2393.zip
Do not close container/slider when clicking on single select field
Diffstat (limited to 'core/js/singleselect.js')
-rw-r--r--core/js/singleselect.js4
1 files changed, 4 insertions, 0 deletions
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);