@@ -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']; |