[Vtigercrm-developers] illegal HTML5 element ids
amh at metricwise.net
Thu Jun 6 03:06:10 UTC 2013
I've recently come across some behavior where some of my jQuery #foo id
selectors are failing to match. It ends up that some sections of the
vtiger codebase concatenate field label with a static string to create the
element id  et al. This is problematic when the label contains a space
in it, as we now have an illegal HTML5 id . The workaround is to use a
jQuery attribute selector [id='foo bar']. The fix is... to use fieldname?
Maybe module+fieldname to avoid collisions? The blast radius of such a
change is way outside my current scope of work, but definitely worth
thinking about for vtiger 8.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtigercrm-developers