[Pkg-owncloud-commits] [owncloud] 02/215: moved from html to $('html') to fix unit tests
David Prévot
taffit at moszumanska.debian.org
Tue May 5 01:01:11 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 595adfd193734bd24adfd26c235b5a2c1bb03099
Author: Roeland Jago Douma <roeland at famdouma.nl>
Date: Thu Apr 16 15:53:51 2015 +0200
moved from html to $('html') to fix unit tests
---
core/js/share.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/core/js/share.js b/core/js/share.js
index 45c8889..45873ca 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -1013,7 +1013,7 @@ $(document).ready(function() {
} else {
$('#linkPass').slideToggle(OC.menuSpeed);
// TODO drop with IE8 drop
- if(html.hasClass('ie8')) {
+ if($('html').hasClass('ie8')) {
$('#linkPassText').attr('placeholder', null);
$('#linkPassText').val('');
}
@@ -1120,7 +1120,6 @@ $(document).ready(function() {
$(document).on('focusout keyup', '#dropdown #linkPassText', function(event) {
var linkPassText = $('#linkPassText');
if ( linkPassText.val() != '' && (event.type == 'focusout' || event.keyCode == 13) ) {
-
var allowPublicUpload = $('#sharingDialogAllowPublicUpload').is(':checked');
var dropDown = $('#dropdown');
var itemType = dropDown.data('item-type');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list