WoltLab/WCF — Issue #320: DBO deletion via javascript: visual updates
Author: Gravatronics
Created: 2011-12-23 17:41:59+00:00
State: open

Two things that should be considered when database objects (listed in a table) are deleted via javascript:

1. If there's a badge with the current number of database objects, update it.
2. If the table is empty afterwards, replace it with the "no objects" message.

Though the first one isn't really *that* important, I personally think that updating that number would be user-friendlier and since you're using javascript anyway to delete the object, using javascript to update that number, does no harm.
The second one could be a bit more complicated if there are no more objects of the current page but ones from previous or next pages.