@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | */ |
| 64 | 64 | public function getScript(): string |
| 65 | 65 | { |
| 66 | - return $this->helper()->render('noty/alert.js'); |
|
| 66 | + return $this->helper()->render('noty/alert.js'); |
|
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | */ |
| 72 | 72 | public function getReadyScript(): string |
| 73 | 73 | { |
| 74 | - return $this->helper()->render('noty/ready.js.php'); |
|
| 74 | + return $this->helper()->render('noty/ready.js.php'); |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | /** |
@@ -29,8 +29,7 @@ |
||
| 29 | 29 | try |
| 30 | 30 | { |
| 31 | 31 | $jaxon->dialog()->registerLibrary($sClass, $sClass::NAME); |
| 32 | - } |
|
| 33 | - catch(SetupException $e){} |
|
| 32 | + } catch(SetupException $e){} |
|
| 34 | 33 | } |
| 35 | 34 | // Register the template dir into the template renderer |
| 36 | 35 | $jaxon->template()->addNamespace('jaxon::dialogs', dirname(__DIR__) . '/templates'); |
@@ -90,8 +90,7 @@ |
||
| 90 | 90 | { |
| 91 | 91 | $aOptions['buttons']['cancel'] = $aButton['title']; |
| 92 | 92 | $aOptions['oncancel'] = 'jaxon.dialogs.xdialog.hide()'; |
| 93 | - } |
|
| 94 | - else |
|
| 93 | + } else |
|
| 95 | 94 | { |
| 96 | 95 | $aOptions['buttons']['ok'] = $aButton['title']; |
| 97 | 96 | $aOptions['onok'] = $aButton['click']; |