@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | |
99 | 99 | // Assign dialog content |
100 | 100 | $this->response()->assign($sContainer, 'innerHTML', $html); |
101 | - if(isset($aOptions['width'])) |
|
101 | + if (isset($aOptions['width'])) |
|
102 | 102 | { |
103 | 103 | // Set the value of the dialog width |
104 | 104 | $width = $aOptions['width']; |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | */ |
127 | 127 | protected function alert(string $sContent, string $sTitle, string $sType): string |
128 | 128 | { |
129 | - if($this->returnCode()) |
|
129 | + if ($this->returnCode()) |
|
130 | 130 | { |
131 | 131 | return "jaxon.dialogs.bootbox.alert('" . $sType . "'," . $sContent . ",'" . $sTitle . "')"; |
132 | 132 | } |
@@ -174,8 +174,7 @@ discard block |
||
174 | 174 | $sTitle = $this->helper()->getQuestionTitle(); |
175 | 175 | |
176 | 176 | return empty($sNoScript) ? |
177 | - "jaxon.dialogs.bootbox.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . ";})" : |
|
178 | - "jaxon.dialogs.bootbox.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . |
|
177 | + "jaxon.dialogs.bootbox.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . ";})" : "jaxon.dialogs.bootbox.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . |
|
179 | 178 | ";},function(){" . $sNoScript . ";})"; |
180 | 179 | } |
181 | 180 | } |