Needs work
Project:
Accessible Helper Module
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2011 at 04:17 UTC
Updated:
26 Feb 2016 at 07:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
johnbarclay commentedComment #2
mgiffordMoved over to http://drupal.org/node/1162802#comment-4615868
Comment #3
liam morlandThis patch handles asterisks for both required field and table row reordering. The JS patches don't work properly I think because the custom JS is not loading after the core JS. I could use some help with this. Perhaps there is a better way to override the core JS.
Comment #4
erynn commentedI had a similar problem with the patch for the user.js. You need to add the js file and change its weight. What I did for the login fix:
so drupal_add_js('/sites/all/modules/accessible/accessible_fix/module_fixes/user.js', array('type' => 'external', 'weight' => 20,));
Note that the module structure needs to change because you won't be able to use hook_fix_js_alter again as it is called in the user.inc file.
Comment #5
liam morlandOK, here is a version of the patch that uses drupal_add_js(). Please have a look; it's not working on my system. With drupal_add_js() there, jQuery doesn't load. If I comment it out, jQuery returns. What I am doing wrong?
Comment #6
liam morlandOK, I've learned something about using JS with Drupal. Now it works!
Comment #7
mgiffordNo longer applies.