added missing isEmpty ajax file

fix for https://github.com/owncloud/core/issues/4235

added missing isEmpty ajax call to re-enable the "Deleted files" button if needed. I forget to add the file to https://github.com/owncloud/core/pull/4203

cc @kabum