mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
Give some UI feedback if the delete does not work
This commit is contained in:
parent
bd47e10b10
commit
443b8ed854
@ -533,6 +533,11 @@ var AppJS = Class.extend(
|
|||||||
// Remove line from list
|
// Remove line from list
|
||||||
line.slideUp("slow", function() { });
|
line.slideUp("slow", function() { });
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Something went wrong server side
|
||||||
|
line.removeClass('loading').addClass('ui-state-error');
|
||||||
|
}
|
||||||
},
|
},
|
||||||
$j(trash).parentsUntil("li").parent(),
|
$j(trash).parentsUntil("li").parent(),
|
||||||
true,
|
true,
|
||||||
|
Loading…
Reference in New Issue
Block a user