Drupal : how to add a JavaScript file in Ctools modal popup -
Drupal : how to add a JavaScript file in Ctools modal popup -
how add together javascript file in ctools modal popup ?
i added js file (datatables.js) in .tpl.php file not work?
the popup not observe file?
drupal_add_js(drupal_get_path('module', 'my_module') . '/jquery.datatables.min.js');
we're using document.ready , ajaxcomplete:
$(document).ready(function () { drupal.behaviors.namespace.functionname(); });
and
$(document).ajaxcomplete(function () { drupal.behaviors.namespace.functionname(); });
clearly not dry solution, solves problem now.
javascript drupal-7 datatables drupal-ctools
Comments
Post a Comment