id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
10664	[PATCH] AdminEnumListPlugin does not work on Firefox 17 with Trac 0.12.4	jun66j5	rjollos	When visiting admin panel, I got the following error.\r\n{{{\r\nTimestamp: 2012-11-30 12:52:36\r\nError: TypeError: a.attributes is null\r\nSource File: http://example.org:3000/chrome/common/js/jquery.js\r\nLine: 55\r\n}}}\r\n\r\nAfter applying the following patch, it works well on Firefox 17. Also, I confirmed with Chrome 24 beta, IE 8.\r\n{{{\r\n#!diff\r\nIndex: adminenumlistplugin/htdocs/adminenumlist.js\r\n===================================================================\r\n--- adminenumlistplugin/htdocs/adminenumlist.js (revision 12395)\r\n+++ adminenumlistplugin/htdocs/adminenumlist.js (working copy)\r\n@@ -14,7 +14,7 @@\r\n\r\n        //IE Doesn't stop selecting text when mousedown returns false we need to check\r\n        // That onselectstart exists and return false if it does\r\n-       var hasOnSelectStart = typeof $(document).attr('onselectstart') != 'undefined';\r\n+       var hasOnSelectStart = document.onselectstart !== undefined;\r\n\r\n        // Indicates whether we're dragging a row\r\n        var dragging = false;\r\n}}}	defect	closed	normal	AdminEnumListPlugin	normal	fixed			0.12
