[Pkg-owncloud-commits] [owncloud] 260/394: input/form switching cleanup
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:12:21 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.
commit 3ca199f8bbd946a28f198b934a88bead579e0e9c
Author: Jörn Friedrich Dreyer <jfd at butonic.de>
Date: Wed Jan 2 17:11:20 2013 +0100
input/form switching cleanup
---
apps/files/js/files.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 61f6617..c0d2820 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -489,7 +489,7 @@ $(document).ready(function() {
$('button.file_upload_filename').removeClass('active');
$('#new li').each(function(i,element){
if($(element).children('p').length==0){
- $(element).children('input').remove();
+ $(element).children('form').remove();
$(element).append('<p>'+$(element).data('text')+'</p>');
}
});
@@ -518,8 +518,8 @@ $(document).ready(function() {
var text=$(this).children('p').text();
$(this).data('text',text);
$(this).children('p').remove();
- var input=$('<input>');
var form=$('<form></form>');
+ var input=$('<input>');
form.append(input);
$(this).append(form);
input.focus();
--
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