@@ -19,7 +19,6 @@ |
||
| 19 | 19 | use Nette\Application; |
| 20 | 20 | use Nette\Bridges; |
| 21 | 21 | use Nette\Localization; |
| 22 | - |
|
| 23 | 22 | use IPub\ConfirmationDialog\Exceptions; |
| 24 | 23 | |
| 25 | 24 | /** |
@@ -20,8 +20,6 @@ |
||
| 20 | 20 | use Nette\Bridges; |
| 21 | 21 | use Nette\ComponentModel; |
| 22 | 22 | use Nette\Forms; |
| 23 | -use Nette\Localization; |
|
| 24 | - |
|
| 25 | 23 | use IPub\ConfirmationDialog; |
| 26 | 24 | use IPub\ConfirmationDialog\Exceptions; |
| 27 | 25 | use IPub\ConfirmationDialog\Storage; |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | /** |
| 128 | 128 | * Add confirmation handler to "dynamicaly named signals" |
| 129 | 129 | * |
| 130 | - * @param string $nam Confirmation/signal name |
|
| 130 | + * @param string $name Confirmation/signal name |
|
| 131 | 131 | * @param callback|Utils\Callback $handler Callback called when confirmation succeed |
| 132 | 132 | * @param callback|string $question Callback ($confirmer, $params) or string containing question text |
| 133 | 133 | * @param callback|string $heading Callback ($confirmer, $params) or string containing heading text |
@@ -18,9 +18,7 @@ |
||
| 18 | 18 | |
| 19 | 19 | use Nette\Application; |
| 20 | 20 | use Nette\Bridges; |
| 21 | -use Nette\Localization; |
|
| 22 | 21 | use Nette\Utils; |
| 23 | - |
|
| 24 | 22 | use IPub\ConfirmationDialog\Exceptions; |
| 25 | 23 | |
| 26 | 24 | /** |