1. JonusC
  2. Bug Report
  3. Friday, 21 August 2009
  4.  Subscribe via email
Since the development site is down I decided to make this bug a public posting so I remember it and so others see that it's due to be fixed by myself :P

As per CSS2 standard, the "id" attribute replaced "name" and name is only needed for backwards compatibility. There are some parts of the template and core inline-replacement code for template elements that don't have identical name/id attributes, these need to be fixed to be identical.

Also some (at least one) elements, specifically the tnotify select box, uses "name" but not "id". I therefore can't use JavaScript to check the select box unless I use "document.getElementByName" which is inconsistent with everything else (getElementById) and that's not good. Anyway I need this to be right because the new templates check and style-modify all the fields via JavaScript on Comment Submit for validation and eye-candy goodness.


Nobody has much reason to read this or reply, it's purely for informative purposes and a 'self-reminder'. :lol:

EDIT: document.getElementByName("tnotify";) doesn't work at all for updating the styling (in my example, making the border red if incorrect value)
Responses (2)


There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now
Powered by EasyDiscuss for Joomla!