mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +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
|
||||
line.slideUp("slow", function() { });
|
||||
}
|
||||
else
|
||||
{
|
||||
// Something went wrong server side
|
||||
line.removeClass('loading').addClass('ui-state-error');
|
||||
}
|
||||
},
|
||||
$j(trash).parentsUntil("li").parent(),
|
||||
true,
|
||||
|
Loading…
Reference in New Issue
Block a user