1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-20 13:52:40 +01:00
phorge-phorge/webroot/rsrc/externals/javelin/lib
Bob Trahan 7ab26aef66 Internet Explorer compatibility fixes
Summary:
A few fixes for IE that makes this work in IE9+ and at least you can drag things and have it fail horribly in IE8 now. Ref T5023.

 - try / catch around getBoundingClientRect because IE throws if the object is not attached to the DOM. The correct value can be inferred in these cases as 0,0
 - turns out IE has different values for button here (1,2,4) than other browsers. special case this by using the other IE fact that 'which' will be null

Test Plan: dragged and dropped tasks successfully in IE9, IE10, and IE11 on Windows 7. dragged and dropped tasks unsuccessfully in IE8 on Windows 7 - they always "drop" to the 2nd position or so as I think the ondrag code isn't firing properly or something

Reviewers: chad, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Maniphest Tasks: T5023

Differential Revision: https://secure.phabricator.com/D9118
2014-05-14 08:53:11 -07:00
..
__tests__ Various linter fixes. 2014-02-26 12:44:58 -08:00
control Add a SublimeText-style repository typeahead 2014-05-13 14:08:21 -07:00
behavior.js Use JsShrink if jsxmin is not available 2013-05-18 17:04:22 -07:00
Cookie.js Move all external JS into webroot/rsrc/externals 2013-04-11 10:06:05 -07:00
DOM.js Begin rebuilding dropdown menus on ActionList 2014-05-05 10:56:14 -07:00
History.js Remove spurious "+x" from files that shouldn't have it 2013-10-05 05:18:17 -07:00
JSON.js Move all external JS into webroot/rsrc/externals 2013-04-11 10:06:05 -07:00
Mask.js Use JsShrink if jsxmin is not available 2013-05-18 17:04:22 -07:00
Request.js Provide a global router for Ajax requests 2014-05-05 10:57:42 -07:00
Resource.js Use JsShrink if jsxmin is not available 2013-05-18 17:04:22 -07:00
Routable.js Provide a global router for Ajax requests 2014-05-05 10:57:42 -07:00
Router.js Provide a global router for Ajax requests 2014-05-05 10:57:42 -07:00
URI.js Use JsShrink if jsxmin is not available 2013-05-18 17:04:22 -07:00
Vector.js Internet Explorer compatibility fixes 2014-05-14 08:53:11 -07:00
Workflow.js Provide a global router for Ajax requests 2014-05-05 10:57:42 -07:00