diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-18 15:37:46 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-18 15:37:46 +0100 |
commit | 7e5fbde4cdb6e607296d4ed9b48db51f641472d1 (patch) | |
tree | 18489863dd8c2a172a7bbf5ebf975779438ada7d /core/js | |
parent | 0e78415cb11aee163b8bba2d22990712cc7666ed (diff) | |
download | nextcloud-server-7e5fbde4cdb6e607296d4ed9b48db51f641472d1.tar.gz nextcloud-server-7e5fbde4cdb6e607296d4ed9b48db51f641472d1.zip |
add missing input labels for Share dialog
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/share.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/js/share.js b/core/js/share.js index bcb604feaa3..f47c9fbb452 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -380,6 +380,7 @@ OC.Share={ } }); + html += '<label for="shareWith" class="hidden-visually">'+t('core', 'Share')+'</label>'; html += '<input id="shareWith" type="text" placeholder="'+t('core', 'Share with user or group …')+'" />'; html += '<span class="shareWithLoading icon-loading-small hidden"></span>'; html += '<ul id="shareWithList">'; @@ -396,9 +397,11 @@ OC.Share={ defaultExpireMessage = t('core', 'The public link will expire no later than {days} days after it is created', {'days': escapeHTML(oc_appconfig.core.defaultExpireDate)}) + '<br/>'; } + html += '<label for="linkText" class="hidden-visually">'+t('core', 'Link')+'</label>'; html += '<input id="linkText" type="text" readonly="readonly" />'; html += '<input type="checkbox" name="showPassword" id="showPassword" value="1" style="display:none;" /><label for="showPassword" style="display:none;">'+t('core', 'Password protect')+'</label>'; html += '<div id="linkPass">'; + html += '<label for="linkPassText" class="hidden-visually">'+t('core', 'Password')+'</label>'; html += '<input id="linkPassText" type="password" placeholder="'+t('core', 'Choose a password for the public link')+'" />'; html += '<span class="icon-loading-small hidden"></span>'; html += '</div>'; @@ -422,6 +425,7 @@ OC.Share={ html += '<div id="expiration">'; html += '<input type="checkbox" name="expirationCheckbox" id="expirationCheckbox" value="1" /><label for="expirationCheckbox">'+t('core', 'Set expiration date')+'</label>'; + html += '<label for="expirationDate" class="hidden-visually">'+t('core', 'Expiration')+'</label>'; html += '<input id="expirationDate" type="text" placeholder="'+t('core', 'Expiration date')+'" style="display:none; width:90%;" />'; html += '<em id="defaultExpireMessage">'+defaultExpireMessage+'</em>'; html += '</div>'; |