Skip to content

Commit 210100d

Browse files
committed
cs
1 parent cd2b55a commit 210100d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

background/background.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ function PrubehPojisteniDruhB2B(CisloPojistence, onSuccess) {
7070
};
7171
onSuccess(results);
7272
});
73+
} else {
74+
return;
7375
}
7476
})
7577
.catch(function (error) {
@@ -107,7 +109,7 @@ function stavSmlouvyICPICPPB2B(ICP_ICPP, onSuccess) {
107109
if (response.status == 200) {
108110
response.text().then(function(text) {
109111
var stavVyrizeniPozadavku = getSoapTagValue(text, "stavVyrizeniPozadavku");
110-
112+
111113
if(stavVyrizeniPozadavku) {
112114
var results = {
113115
"odbornost": getSoapTagValue(text, "odbornost"),
@@ -129,10 +131,12 @@ function stavSmlouvyICPICPPB2B(ICP_ICPP, onSuccess) {
129131
onSuccess(results);
130132
}
131133
});
134+
} else {
135+
return;
132136
}
133-
})
134-
.catch(function (error) {
135-
console.log(error);
137+
})
138+
.catch(function (error) {
139+
console.log(error);
136140
});
137141
});
138142
}

0 commit comments

Comments
 (0)