Rework on feedback popups
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user