To participate you must create an account on apostrophenow.com. If you have already done so, click Login.
Changeset 1822
- Timestamp:
- 07/22/2010 03:25:02 PM (6 weeks ago)
- Author:
- rickybanister
- Message:
-
email obfuscator was generating random GUIDs for the email mailto links. They were often generating IDs with starting with numbers and this is caused validation errors. Fixed this in 1.4 and the trunk
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r1814
|
r1822
|
|
| 541 | 541 | $label = self::jsEscape(trim($label)); |
| 542 | 542 | // ACHTUNG: this is carefully crafted to avoid introducing extra whitespace |
| 543 | | return "<a href='#' id='$guid'></a><script type='text/javascript' charset='utf-8'> |
| 544 | | var e = document.getElementById('$guid'); |
| | 543 | // Note: $guid was returning IDs with leading numbers. This threw validation errors so I appended a 'g-' to the ID - JB 7.22.10 |
| | 544 | return "<a href='#' id='g-".$guid."'></a><script type='text/javascript' charset='utf-8'> |
| | 545 | var e = document.getElementById('g-".$guid."'); |
| 545 | 546 | e.setAttribute('href', '$href'); |
| 546 | 547 | e.innerHTML = '$label'; |
Download in other formats: