luci-base: xhr.js: fix timeout setting with IE 11
authorJo-Philipp Wich <jo@mein.io>
Sat, 28 Apr 2018 20:55:08 +0000 (22:55 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 5 May 2018 19:16:53 +0000 (21:16 +0200)
commit34821b15a5bf98ad951329d07b5ed3fe65623f8d
tree857b0bb99b57cf3c2cc0c0e612766d0a4c56d43b
parent6a1cdca34518fac1ca4ee2f77dad6ff60062bda5
luci-base: xhr.js: fix timeout setting with IE 11

Internet Explorer 11 requires the timeout to be applied after the open()
call, otherwise an invlaid state exception will be raised

Fixes aa6c97154 ("luci-base: extend xhr.js")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/xhr.js