[MAGNOLIA-794] name collision in javascript with prototype.js Created: 30/Mar/06 Updated: 14/Aug/06 Resolved: 14/Aug/06 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | admininterface |
| Affects Version/s: | 2.1.5 |
| Fix Version/s: | 3.0 RC3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Tom Jensen | Assignee: | Fabrizio Giustina |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 5m | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | 5m | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
The $() function in /admindocroot/js/generic.js breaks the prototype.js function of the same name. Would be better to conditionally create it as the functionality for magnolia should be the same. Do it as follows: function get$Script() { catch(e) { ; I don't really like the try/catch methodology but I don't know of any other way to check for the $ function that isn't there. |
| Comments |
| Comment by Fabrizio Giustina [ 14/Aug/06 ] |
|
fixed, thanks |