Rework on feedback popups

This commit is contained in:
2019-09-17 22:47:59 +02:00
parent 4133faec32
commit 49fbf665e8
9 changed files with 39 additions and 20 deletions

View File

@@ -160,9 +160,10 @@ class CATC extends Main
public function deleteDoc($iDocId) {
$oDoc = new Doc($this->oDb);
$oDoc->setDocId($iDocId);
$asDoc = $oDoc->getDoc();
$bResult = $oDoc->delete();
return self::getJsonResult($bResult, '');
return self::getJsonResult($bResult, '', $asDoc);
}
/* Defs */