Skip to content

Commit

Permalink
DC fix of #37360
Browse files Browse the repository at this point in the history
  • Loading branch information
Amstutz committed May 17, 2023
1 parent 9556f88 commit dcd7245
Showing 1 changed file with 2 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,27 +148,9 @@ public function executeCommand(): void

$cmd = $this->ctrl->getCmd();
$cmdClass = $this->ctrl->getCmdClass();
switch ($cmdClass) {
switch (strtolower($cmdClass)) {
case 'ilnotegui':
switch ($cmd) {
case 'editNoteForm':
$this->renderRecord(true);
break;
case 'getNotesHTML':
$this->renderRecord();
break;
case 'deleteNote':
$this->notesGUI->confirmDelete();
//$this->renderRecord();
break;
case 'cancelDelete':
$this->notesGUI->cancelDelete();
$this->renderRecord();
break;
default:
$this->notesGUI->$cmd();
break;
}
$this->notesGUI->executeCommand();
break;
default:
$this->$cmd();
Expand Down

0 comments on commit dcd7245

Please sign in to comment.