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:
parent
b66f4c1d9b
commit
5fa9c5cd92
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user