From c00145fca8b1ab39ac39584625de92c5f6636f8c Mon Sep 17 00:00:00 2001 From: sanek Date: Sun, 8 Nov 2015 00:51:11 +0300 Subject: [PATCH] 1 --- CodemirrorWidget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodemirrorWidget.php b/CodemirrorWidget.php index 7a2e799..5f52b11 100644 --- a/CodemirrorWidget.php +++ b/CodemirrorWidget.php @@ -95,7 +95,7 @@ protected function _registerPlugin() $id = $this->options['id']; $settings = Json::encode($this->clientOptions); - $js = "CodeMirror.fromTextArea(document.getElementById('$id'), $settings)"; + $js = "CodeMirror.fromTextArea(document.getElementById('$id'), $settings);"; $view->registerJs($js); }