]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixed label for sharing notification to be clickable
authorVincent Petry <pvince81@owncloud.com>
Mon, 7 Oct 2013 11:15:25 +0000 (13:15 +0200)
committerVincent Petry <pvince81@owncloud.com>
Mon, 7 Oct 2013 11:15:25 +0000 (13:15 +0200)
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

index bbdc5a67e9da4aa994636ac20b4fe31e26f3608a..c0ecbbf36cf2a8dcabc7aa1081dfbc5be164679d 100644 (file)
@@ -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 == '') {