Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
ive got a node_alter function in my custom node type, and need to populate some textboxes with calculated values depending on another fields values...simple, but its taking the ajax callback 5 seconds to update the field, even if i only target the element...so i installed js module, but im not seeing a difference...here is my code in the module:
function match_js() {
return array(
'drupal_get_form' => array(
'callback' => 'match_courts_callback',
'bootstrap' => DRUPAL_BOOTSTRAP_DATABASE,
),
);
}
i have no idea if this is the correct way to call the js module into play...can someone help? the url for the ajax is the internal system/ajax
thanks!
Comments
Comment #1
markhalliwellThis project's sole purpose is to provide the necessary tools to combat bloated/unnecessary bootstrapping of a Drupal site during a JS request. Questions like this fall outside the scope of this project as they differ between each and every site.