mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-11-11 16:49:30 +01:00
fix: Previous XHR not aborted (#1163)
This commit is contained in:
1 parent
10c902bc9b
commit
48ef47b85b
1 file changed
+4
@@ -7,6 +7,10 @@ function getInfo() {
|
||||
var url = "msg.html";
|
||||
|
||||
try {
|
||||
if (request) {
|
||||
request.abort();
|
||||
}
|
||||
|
||||
if (window.XMLHttpRequest) {
|
||||
request = new XMLHttpRequest();
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user