function _vsf_wysiwyg_load_resources_ckeditor in Visual select file 7
Helper to load necessary JS and CSS for ckeditor elements.
1 call to _vsf_wysiwyg_load_resources_ckeditor()
- vsf_wysiwyg_pre_render_wysiwyg_element in submodules/
vsf_wysiwyg/ vsf_wysiwyg.module - Add field instance settings for other parts of the machine to pick up.
File
- submodules/
vsf_wysiwyg/ vsf_wysiwyg.module, line 288
Code
function _vsf_wysiwyg_load_resources_ckeditor() {
static $loaded = 0;
if (!$loaded) {
$loaded = 1;
drupal_add_library('system', 'ui.dialog');
$path = drupal_get_path('module', 'visual_select_file');
drupal_add_js($path . '/visual_select_file.js');
}
}