- Timestamp:
- 10/26/14 10:10:53 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/dcCKEditor/inc/dc.ckeditor.behaviors.php
r2749 r2761 16 16 protected static $config_url = 'plugin.php?p=dcCKEditor&config=1'; 17 17 18 public static function adminPostEditor($editor='' ) {18 public static function adminPostEditor($editor='',$context='') { 19 19 if (empty($editor) || $editor!='dcCKEditor') { return;} 20 21 $config_js = self::$config_url; 22 if (!empty($context)) { 23 $config_js .= '&context='.$context; 24 } 20 25 21 26 return … … 39 44 dcPage::jsLoad(self::$p_url.'/js/ckeditor/ckeditor.js'). 40 45 dcPage::jsLoad(self::$p_url.'/js/ckeditor/adapters/jquery.js'). 41 dcPage::jsLoad( self::$config_url);46 dcPage::jsLoad($config_js); 42 47 } 43 48
Note: See TracChangeset
for help on using the changeset viewer.