drop unneeded code

This commit is contained in:
Morris Jobke 2014-06-27 00:30:14 +02:00
parent 5b189315b5
commit d9aa8c9f0e
3 changed files with 1 additions and 16 deletions

View File

@ -88,20 +88,6 @@ thead {
max-width: 90%;
}
.header-right {
transition: opacity 500ms ease 0s;
-moz-transition: opacity 500ms ease 0s;
-ms-transition: opacity 500ms ease 0s;
-o-transition: opacity 500ms ease 0s;
-webkit-transition: opacity 500ms ease 0s;
}
.header-right:hover, .header-right.active {
opacity: 1;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
filter: alpha(opacity=100);
}
/* within #save */
#remote_address {
margin: 0;

View File

@ -161,7 +161,6 @@ OCA.Sharing.PublicApp = {
$('#save > button').click(function () {
$(this).hide();
$('.header-right').addClass('active');
$('.save-form').css('display', 'inline');
$('#remote_address').focus();
});

View File

@ -17,7 +17,7 @@
<div class="header-right">
<span id="details">
<span id="save" data-protected="<?php p($_['protected'])?>" data-owner="<?php p($_['displayName'])?>" data-name="<?php p($_['filename'])?>">
<button><?php p($l->t('Save to ownCloud')) ?></button>
<button><?php p($l->t('Add to your ownCloud')) ?></button>
<form class="save-form hidden" action="#">
<input type="text" id="remote_address" placeholder="<?php p($l->t('example.com/owncloud')) ?>"/>
<input type="submit" value="<?php p($l->t('Save')) ?>"/>