luci-base: luci.js: don't abort finished xhr objects
authorJo-Philipp Wich <jo@mein.io>
Fri, 7 Jun 2019 10:51:27 +0000 (12:51 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 7 Jul 2019 13:36:26 +0000 (15:36 +0200)
commit1605f29b6f6ebeaf00a27d556bad708bd1d2e836
tree4da457d1b70c010a61e4b7b2f46d2d9f9819ac42
parent0bcb9f9f1d5f30a0a06584ddf4956d754c705c9d
luci-base: luci.js: don't abort finished xhr objects

Calling abort() on a finished xhr object will clear properties such
as status which can confuse code relying on legacy LuCI request
helper functions.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/luci.js