diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-05-13 15:27:56 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-05-13 15:27:56 +0200 |
commit | 737be1a10f64200483560bf8ce533d74e1c3b7b0 (patch) | |
tree | 865a78906a232e9800944458b39cf1d40914d9df | |
parent | b985021082e6605799665d084f5bce992daf09c9 (diff) | |
download | nextcloud-server-737be1a10f64200483560bf8ce533d74e1c3b7b0.tar.gz nextcloud-server-737be1a10f64200483560bf8ce533d74e1c3b7b0.zip |
move expire message to the bottom
-rw-r--r-- | core/js/share.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js index 963c11db79a..d5a6c7eca3f 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -228,7 +228,7 @@ OC.Share={ defaultExpireMessage = t('core', 'By default the public link will expire after {days} days', {'days': oc_appconfig.core.defaultExpireDate}) + '<br/>'; } } - html += '<div id="defaultExpireMessage">'+defaultExpireMessage+'</div>'; + 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>'; @@ -250,6 +250,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 += '<input id="expirationDate" type="text" placeholder="'+t('core', 'Expiration date')+'" style="display:none; width:90%;" />'; + html += '<div id="defaultExpireMessage">'+defaultExpireMessage+'</div>'; html += '</div>'; dropDownEl = $(html); dropDownEl = dropDownEl.appendTo(appendTo); |