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.
...used in views_plugin_exposed_form.inc
if (!empty($form_state['js settings'])) {
$this->view->js_settings = $form_state['js settings'];
}
related posts:
#1170572: Missing var $current_display declaration?
#1184648: Missing var $definition declaration?
Comment | File | Size | Author |
---|---|---|---|
#5 | removed-js-settings-1188132-0.patch | 2.02 KB | David Hernández |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commented$form_state['js settings'] is no longer needed in D7, but probably hasn't been fully removed in the port.
Comment #2
neoglez CreditAttribution: neoglez commentedMaybe this should not reference a file in particular? or is OK so to work (& commit) in a more modular way?
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedjs_settings was used in D6 but the D7 ajax framework actually doesn't need it because drupal_add_js works across AJAX requests. It was a hack. It should be completely removed from D7.
Comment #4
jonhattanOther occurences of "js settings"
Comment #5
David Hernández CreditAttribution: David Hernández commentedHi there,
Here is a patch removing all the js settings on all the files.
Regards,
David.
Comment #6
neoglez CreditAttribution: neoglez commentedSeems fine to me.
Comment #7
dawehnerThanks for writing the patch.
Commited to 7.x-3.x