@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | */ |
| 86 | 86 | protected function alert(string $sMessage, string $sTitle, string $sType): string |
| 87 | 87 | { |
| 88 | - if($this->returnCode()) |
|
| 88 | + if ($this->returnCode()) |
|
| 89 | 89 | { |
| 90 | 90 | return "noty({text:" . $sMessage . ", type:'" . $sType . "', layout: 'topCenter'})"; |
| 91 | 91 | } |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | public function confirm(string $sQuestion, string $sYesScript, string $sNoScript): string |
| 134 | 134 | { |
| 135 | 135 | // $sTitle = $this->helper()->getQuestionTitle(); |
| 136 | - if(!$sNoScript) |
|
| 136 | + if (!$sNoScript) |
|
| 137 | 137 | { |
| 138 | 138 | return "jaxon.dialogs.noty.confirm(" . $sQuestion . ",'',function(){" . $sYesScript . ";})"; |
| 139 | 139 | } |