Details
-
Bug
-
Resolution: Fixed
-
Minor
-
2.1.5
-
None
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() {
try
catch(e) {
return function (element)
;
}
}
$ = get$Script();
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.
Checklists
Acceptance criteria