Merge pull request #7597 from nextcloud/fix-anchor-change-when-clicking-on-sharing-page-menu

Fix anchor change when clicking on sharing page menu
This commit is contained in:
Roeland Jago Douma 2017-12-22 12:28:27 +01:00 committed by GitHub
commit e40d6f6d8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
<div class="header-right"> <div class="header-right">
<?php if (!isset($_['hideFileList']) || (isset($_['hideFileList']) && $_['hideFileList'] === false)) { ?> <?php if (!isset($_['hideFileList']) || (isset($_['hideFileList']) && $_['hideFileList'] === false)) { ?>
<a href="#" id="share-menutoggle" class="menutoggle icon-more-white"><span class="share-menutoggle-text"><?php p($l->t('Download')) ?></span></a> <a id="share-menutoggle" class="menutoggle icon-more-white"><span class="share-menutoggle-text"><?php p($l->t('Download')) ?></span></a>
<div id="share-menu" class="popovermenu menu"> <div id="share-menu" class="popovermenu menu">
<ul> <ul>
<li> <li>
@ -60,7 +60,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
</a> </a>
</li> </li>
<li> <li>
<a href="#" id="directLink-container"> <a id="directLink-container">
<span class="icon icon-public"></span> <span class="icon icon-public"></span>
<label for="directLink"><?php p($l->t('Direct link')) ?></label> <label for="directLink"><?php p($l->t('Direct link')) ?></label>
<input id="directLink" type="text" readonly value="<?php p($_['previewURL']); ?>"> <input id="directLink" type="text" readonly value="<?php p($_['previewURL']); ?>">
@ -68,7 +68,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
</li> </li>
<?php if ($_['server2serversharing']) { ?> <?php if ($_['server2serversharing']) { ?>
<li> <li>
<a href="#" id="save" data-protected="<?php p($_['protected']) ?>" <a id="save" data-protected="<?php p($_['protected']) ?>"
data-owner-display-name="<?php p($_['displayName']) ?>" data-owner="<?php p($_['owner']) ?>" data-name="<?php p($_['filename']) ?>"> data-owner-display-name="<?php p($_['displayName']) ?>" data-owner="<?php p($_['owner']) ?>" data-name="<?php p($_['filename']) ?>">
<span class="icon icon-external"></span> <span class="icon icon-external"></span>
<span id="save-button"><?php p($l->t('Add to your Nextcloud')) ?></span> <span id="save-button"><?php p($l->t('Add to your Nextcloud')) ?></span>