Modify ↓
Opened 7 years ago
Closed 7 years ago
#13539 closed defect (fixed)
Don't work on Trac 1.2
| Reported by: | covax | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | low | Component: | JqChartMacro |
| Severity: | normal | Keywords: | JavaScript, jquery migration |
| Cc: | Trac Release: | 1.2 |
Description
On a wiki page with "JqChartMacro" appear ERROR: Uncaught TypeError: Cannot read property 'msie' of undefined in "jquery.jqplot.min.js" file.
I patched him. Just Add
jQuery.browser = {};
(function () {
jQuery.browser.msie = false;
jQuery.browser.version = 0;
if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) {
jQuery.browser.msie = true;
jQuery.browser.version = RegExp.$1;
}
})();
in header of the jquery.jqplot.min.js file
Please, add this patch in the main branch.
Attachments (0)
Change History (3)
comment:1 Changed 7 years ago by
| Owner: | changed from Pablo to Ryan J Ollos |
|---|---|
| Status: | new → accepted |
comment:2 Changed 7 years ago by
Note: See
TracTickets for help on using
tickets.



In 17353: