@@ -76,8 +76,7 @@ |
||
76 | 76 | if ($info = $this->urlEmbed()->getEmbed($url)) { |
77 | 77 | $url_output = $info->getCode(); |
78 | 78 | } |
79 | - } |
|
80 | - catch (\Exception $e) { |
|
79 | + } catch (\Exception $e) { |
|
81 | 80 | watchdog_exception('url_embed', $e); |
82 | 81 | } |
83 | 82 |
@@ -143,8 +143,7 @@ |
||
143 | 143 | '#weight' => -10, |
144 | 144 | ); |
145 | 145 | $response->addCommand(new HtmlCommand('#url-embed-dialog-form', $form)); |
146 | - } |
|
147 | - else { |
|
146 | + } else { |
|
148 | 147 | $response->addCommand(new EditorDialogSave($values)); |
149 | 148 | $response->addCommand(new CloseModalDialogCommand()); |
150 | 149 | } |