From 68fbd7b92241daf1326c9a95331d4fdb5ca030e6 Mon Sep 17 00:00:00 2001
From: Vincent Petry <pvince81@owncloud.com>
Date: Mon, 7 Oct 2013 13:15:25 +0200
Subject: [PATCH] Fixed label for sharing notification to be clickable

Fixed the sharing notification checkbox label in the file sharing
dropdown, which makes it possible to click on the label directly.
---
 core/js/share.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/js/share.js b/core/js/share.js
index bbdc5a67e9..c0ecbbf36c 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -350,7 +350,7 @@ OC.Share={
 				if (mailSend === '1') {
 					checked = 'checked';
 				}
-				html += '<input type="checkbox" name="mailNotification" class="mailNotification" ' + checked + ' />'+t('core', 'notify user by email')+'</label>';
+				html += '<label><input type="checkbox" name="mailNotification" class="mailNotification" ' + checked + ' />'+t('core', 'notify user by email')+'</label>';
 			}
 			if (possiblePermissions & OC.PERMISSION_CREATE || possiblePermissions & OC.PERMISSION_UPDATE || possiblePermissions & OC.PERMISSION_DELETE) {
 				if (editChecked == '') {
-- 
GitLab