Modify ↓
Opened 12 years ago
Closed 12 years ago
#10664 closed defect (fixed)
[PATCH] AdminEnumListPlugin does not work on Firefox 17 with Trac 0.12.4
Reported by: | Jun Omae | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | AdminEnumListPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
When visiting admin panel, I got the following error.
Timestamp: 2012-11-30 12:52:36 Error: TypeError: a.attributes is null Source File: http://example.org:3000/chrome/common/js/jquery.js Line: 55
After applying the following patch, it works well on Firefox 17. Also, I confirmed with Chrome 24 beta, IE 8.
-
adminenumlistplugin/htdocs/adminenumlist.js
14 14 15 15 //IE Doesn't stop selecting text when mousedown returns false we need to check 16 16 // That onselectstart exists and return false if it does 17 var hasOnSelectStart = typeof $(document).attr('onselectstart') != 'undefined';17 var hasOnSelectStart = document.onselectstart !== undefined; 18 18 19 19 // Indicates whether we're dragging a row 20 20 var dragging = false;
Attachments (0)
Change History (3)
comment:1 Changed 12 years ago by
Owner: | changed from Stepan Riha to Ryan J Ollos |
---|---|
Status: | new → assigned |
comment:2 Changed 12 years ago by
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [12420]) Refs #10664: Check for existence of
onselectstart
function was not compatible with all browsers. Patch by Jun Omae (jun66j5).