[Pkg-owncloud-commits] [owncloud] 07/22: Do not close container/slider when clicking on single select field

David Prévot taffit at moszumanska.debian.org
Fri Aug 29 14:48:56 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 6c1e19b38662ffdfa03d06b8d54fde7b43f8f8ad
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Fri Aug 15 12:43:24 2014 +0200

    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 79ae087..1b2016a 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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list