@@ -122,8 +122,7 @@ |
||
122 | 122 | if(!$noScript) |
123 | 123 | { |
124 | 124 | return "jaxon.dialogs.swal.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";})"; |
125 | - } |
|
126 | - else |
|
125 | + } else |
|
127 | 126 | { |
128 | 127 | return "jaxon.dialogs.swal.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";},function(){" . $noScript . ";})"; |
129 | 128 | } |
@@ -79,8 +79,7 @@ |
||
79 | 79 | if(($title)) |
80 | 80 | { |
81 | 81 | return "toastr." . $type . "(" . $message . ", '" . $title . "')"; |
82 | - } |
|
83 | - else |
|
82 | + } else |
|
84 | 83 | { |
85 | 84 | return "toastr." . $type . "(" . $message . ")"; |
86 | 85 | } |
@@ -124,8 +124,7 @@ |
||
124 | 124 | if(!$noScript) |
125 | 125 | { |
126 | 126 | return "jaxon.dialogs.pnotify.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";})"; |
127 | - } |
|
128 | - else |
|
127 | + } else |
|
129 | 128 | { |
130 | 129 | return "jaxon.dialogs.pnotify.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";},function(){" . $noScript . ";})"; |
131 | 130 | } |
@@ -185,8 +185,7 @@ |
||
185 | 185 | // Set the Response instance |
186 | 186 | $library->setResponse($this->response()); |
187 | 187 | return $library; |
188 | - } |
|
189 | - catch(\Exception $e) |
|
188 | + } catch(\Exception $e) |
|
190 | 189 | { |
191 | 190 | return null; |
192 | 191 | } |