Skip to content

Commit 1ae9039

Browse files
committed
11
1 parent aaded3b commit 1ae9039

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

OpenFlow/src/public/Controllers.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,10 +1158,13 @@ module openflow {
11581158
async SendOne(queuename: string, message: any): Promise<void> {
11591159
var result: any = await this.api.QueueMessage(queuename, message);
11601160
try {
1161-
// result = JSON.parse(result);
1161+
result = JSON.parse(result);
11621162
} catch (error) {
11631163
}
1164-
this.instanceid = result._id;
1164+
console.log(result);
1165+
if ((this.instanceid === undefined || this.instanceid === null) && (result !== null && result !== unescape)) {
1166+
this.instanceid = result._id;
1167+
}
11651168
}
11661169
async Save() {
11671170
var userData: any[] = this.formRender.userData;

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.154
1+
0.0.155

0 commit comments

Comments
 (0)