summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-08-15 12:43:24 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-08-21 08:40:26 +0200
commit6c1e19b38662ffdfa03d06b8d54fde7b43f8f8ad (patch)
treeb6e06240f90ed6ea94c490c23f3514c68e47c13b /core
parent2307a5a6b53bc39bdcf29a8ed6e7eb284a0ed8e0 (diff)
downloadnextcloud-server-6c1e19b38662ffdfa03d06b8d54fde7b43f8f8ad.tar.gz
nextcloud-server-6c1e19b38662ffdfa03d06b8d54fde7b43f8f8ad.zip
Do not close container/slider when clicking on single select field
Diffstat (limited to 'core')
-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);