diff --git a/core/css/share.css b/core/css/share.css index a8ffc8df42..abaeb07dd8 100644 --- a/core/css/share.css +++ b/core/css/share.css @@ -15,4 +15,6 @@ a.showCruds { display:inline; opacity:.5; } a.showCruds:hover { opacity:1; } a.unshare { float:right; display:inline; padding:.3em 0 0 .3em !important; opacity:.5; } a.unshare:hover { opacity:1; } -#link { border-top:1px solid #ddd; padding-top:0.5em; } \ No newline at end of file +#link { border-top:1px solid #ddd; padding-top:0.5em; } +input[type="text"], input[type="password"] { width:90%; } +#linkText, #linkPass { display:none; } diff --git a/core/js/share.js b/core/js/share.js index 4c164f65b2..cc862b1c5f 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -130,7 +130,7 @@ OC.Share={ html += '
'; } if (possiblePermissions & OC.Share.PERMISSION_SHARE) { - html += ''; + html += ''; html += ''; if (link) { @@ -139,8 +139,10 @@ OC.Share={ // TODO Change to lock/unlock icon? html += ''; html += '
'; - html += ''; - html += ''; + html += ''; + html += '
'; + html += ''; + html += '
' html += ''; } html += ''; @@ -408,8 +410,7 @@ $(document).ready(function() { }); $('#showPassword').live('click', function() { - $('#linkText').after('
'); - $('#linkPassText').toggle('blind'); + $('#linkPass').toggle('blind'); }); $('#linkPassText').live('keyup', function(event) {