1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-19 08:52:22 +01:00

Fix sorting - again :-P

This commit is contained in:
Thomas Tanghus 2012-07-15 22:04:33 +02:00
parent b66f4c1d9b
commit 5fa9c5cd92

View File

@ -1474,8 +1474,8 @@ Contacts={
var name = $(dragitem).find('a').html(); var name = $(dragitem).find('a').html();
var added = false; var added = false;
$(droplist).children().each(function(){ $(droplist).children().each(function(){
if (droptarget.text().toLowerCase() > name.toLowerCase()) { if ($(this).text().toLowerCase() > name.toLowerCase()) {
droptarget.before(dragitem.detach()); //.fadeIn('slow'); $(this).before(dragitem.detach()); //.fadeIn('slow');
added = true; added = true;
return false; return false;
} }