Commits

Bogdan Savluk committed fdd9e3c

use non minified script when debuging

  • Participants
  • Parent commits 1538838

Comments (0)

Files changed (1)

         //'media_external_list_url' => "lists/media_list.js",
 
         // Replace values for the template plugin
-        'template_replace_values' => array(
-        ),
+        'template_replace_values' => array(),
 
 
     );
             else
                 $this->settings['language'] = 'en';
         }
-        $this->settings['language']= strtr($this->settings['language'],'_','-');
+        $this->settings['language'] = strtr($this->settings['language'], '_', '-');
 
         $this->settings['script_url'] = "{$this->assetsDir}/tiny_mce.js";
         if ($this->spellcheckerRoute !== false) {
             $name = $this->htmlOptions['name'];
 
         if (isset($this->model)) {
-            echo CHtml::textArea($name, CHtml::resolveValue($this->model,$this->attribute), $this->htmlOptions);
+            echo CHtml::textArea($name, CHtml::resolveValue($this->model, $this->attribute), $this->htmlOptions);
         } else {
             echo CHtml::textArea($name, $this->value, $this->htmlOptions);
         }
                 "themes" => $this->settings['theme'],
                 "languages" => $this->settings['language'],
                 'files' => 'jquery.tinymce',
+                'source' => defined('YII_DEBUG') && YII_DEBUG,
             )));
         }
         if ($this->fileManager !== false) {