Fix public upload for normal shares
This commit is contained in:
parent
6e99b0f59d
commit
e878e786e0
|
@ -159,8 +159,6 @@ thead {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#public-upload .avatardiv {
|
#public-upload .avatardiv {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
|
@ -302,7 +302,9 @@ OCA.Sharing.PublicApp = {
|
||||||
$('#save-button-confirm')
|
$('#save-button-confirm')
|
||||||
.removeClass("icon-loading-small")
|
.removeClass("icon-loading-small")
|
||||||
.addClass("icon-confirm");
|
.addClass("icon-confirm");
|
||||||
} else {
|
|
||||||
|
}
|
||||||
|
else {
|
||||||
$('#save-button-confirm')
|
$('#save-button-confirm')
|
||||||
.removeClass("icon-confirm")
|
.removeClass("icon-confirm")
|
||||||
.addClass("icon-loading-small");
|
.addClass("icon-loading-small");
|
||||||
|
@ -312,6 +314,7 @@ OCA.Sharing.PublicApp = {
|
||||||
|
|
||||||
toggleLoading();
|
toggleLoading();
|
||||||
var location = window.location.protocol + '//' + window.location.host + OC.webroot;
|
var location = window.location.protocol + '//' + window.location.host + OC.webroot;
|
||||||
|
|
||||||
if(remote.substr(-1) !== '/') {
|
if(remote.substr(-1) !== '/') {
|
||||||
remote += '/'
|
remote += '/'
|
||||||
};
|
};
|
||||||
|
|
|
@ -90,8 +90,9 @@ OCP\Util::addscript('files', 'keyboardshortcuts');
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div></header>
|
</div></header>
|
||||||
<div id="content-wrapper" <?php if(isset($_['hideFileList']) && $_['hideFileList'] === true){ print_unescaped(" class=\"content-wrapper-upload\"");} ?>>
|
<div id="content-wrapper">
|
||||||
<?php if (!isset($_['hideFileList']) || (isset($_['hideFileList']) && $_['hideFileList'] === false)) { ?>
|
<?php if (!isset($_['hideFileList']) || (isset($_['hideFileList']) && $_['hideFileList'] === false)) { ?>
|
||||||
|
<div id="content">
|
||||||
<div id="preview">
|
<div id="preview">
|
||||||
<?php if (isset($_['folder'])): ?>
|
<?php if (isset($_['folder'])): ?>
|
||||||
<?php print_unescaped($_['folder']); ?>
|
<?php print_unescaped($_['folder']); ?>
|
||||||
|
|
Loading…
Reference in New Issue