summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/templates
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2015-09-28 20:44:33 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2015-09-30 13:55:13 +0200
commit08fd4b38f895a5e9a91cdc476103c26be68dda80 (patch)
tree5cd0cccedd85aa1f055bb9afd92eb00e9037e6f7 /apps/files_sharing/templates
parent6d743ffac6ceb2b89447e7a7da6fdbefc4a6d06a (diff)
downloadnextcloud-server-08fd4b38f895a5e9a91cdc476103c26be68dda80.tar.gz
nextcloud-server-08fd4b38f895a5e9a91cdc476103c26be68dda80.zip
Do noy allow empty urls to be submitted in "add to your owncloud"
Fixes #19382
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r--apps/files_sharing/templates/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index cde28c80fc4..06d797c3c6f 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -76,7 +76,7 @@ $thumbSize = 1024;
<button id="save-button"><?php p($l->t('Add to your ownCloud')) ?></button>
<form class="save-form hidden" action="#">
<input type="text" id="remote_address" placeholder="example.com/owncloud"/>
- <button id="save-button-confirm" class="icon-confirm svg"></button>
+ <button id="save-button-confirm" class="icon-confirm svg" disabled></button>
</form>
</span>
<?php } ?>