@@ -125,8 +125,7 @@ |
||
| 125 | 125 | if(!$sNoScript) |
| 126 | 126 | { |
| 127 | 127 | return "jaxon.dialogs.jalert.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . ";})"; |
| 128 | - } |
|
| 129 | - else |
|
| 128 | + } else |
|
| 130 | 129 | { |
| 131 | 130 | return "jaxon.dialogs.jalert.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . ";},function(){" . $sNoScript . ";})"; |
| 132 | 131 | } |
@@ -122,8 +122,7 @@ |
||
| 122 | 122 | if(!$sNoScript) |
| 123 | 123 | { |
| 124 | 124 | return "jaxon.dialogs.swal.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . ";})"; |
| 125 | - } |
|
| 126 | - else |
|
| 125 | + } else |
|
| 127 | 126 | { |
| 128 | 127 | return "jaxon.dialogs.swal.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . ";},function(){" . $sNoScript . ";})"; |
| 129 | 128 | } |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | */ |
| 61 | 61 | public function getScript(): string |
| 62 | 62 | { |
| 63 | - return $this->xHelper->render('noty/alert.js'); |
|
| 63 | + return $this->xHelper->render('noty/alert.js'); |
|
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | /** |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | */ |
| 69 | 69 | public function getReadyScript(): string |
| 70 | 70 | { |
| 71 | - return $this->xHelper->render('noty/ready.js.php'); |
|
| 71 | + return $this->xHelper->render('noty/ready.js.php'); |
|
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | /** |
@@ -114,8 +114,7 @@ |
||
| 114 | 114 | if(!$sNoScript) |
| 115 | 115 | { |
| 116 | 116 | return "jaxon.dialogs.noty.confirm(" . $sQuestion . ",'',function(){" . $sYesScript . ";})"; |
| 117 | - } |
|
| 118 | - else |
|
| 117 | + } else |
|
| 119 | 118 | { |
| 120 | 119 | return "jaxon.dialogs.noty.confirm(" . $sQuestion . ",'',function(){" . $sYesScript . ";},function(){" . $sNoScript . ";})"; |
| 121 | 120 | } |
@@ -129,8 +129,7 @@ |
||
| 129 | 129 | if(($sTitle)) |
| 130 | 130 | { |
| 131 | 131 | return "BootstrapDialog.alert({message:" . $sMessage . ", title:'" . $sTitle . "', type:" . $sType . "})"; |
| 132 | - } |
|
| 133 | - else |
|
| 132 | + } else |
|
| 134 | 133 | { |
| 135 | 134 | return "BootstrapDialog.alert({message:" . $sMessage . ", type:" . $sType . "})"; |
| 136 | 135 | } |
@@ -121,8 +121,7 @@ |
||
| 121 | 121 | if(!$sNoScript) |
| 122 | 122 | { |
| 123 | 123 | return "jaxon.dialogs.overhang.confirm(" . $sQuestion . ",function(){" . $sYesScript . ";})"; |
| 124 | - } |
|
| 125 | - else |
|
| 124 | + } else |
|
| 126 | 125 | { |
| 127 | 126 | return "jaxon.dialogs.overhang.confirm(" . $sQuestion . ",function(){" . $sYesScript . ";},function(){" . $sNoScript . ";})"; |
| 128 | 127 | } |
@@ -124,8 +124,7 @@ |
||
| 124 | 124 | if(!$sNoScript) |
| 125 | 125 | { |
| 126 | 126 | return "jaxon.dialogs.pnotify.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . ";})"; |
| 127 | - } |
|
| 128 | - else |
|
| 127 | + } else |
|
| 129 | 128 | { |
| 130 | 129 | return "jaxon.dialogs.pnotify.confirm(" . $sQuestion . ",'" . $sTitle . "',function(){" . $sYesScript . ";},function(){" . $sNoScript . ";})"; |
| 131 | 130 | } |