diff options
Diffstat (limited to 'dgbuilder/nodes')
-rw-r--r-- | dgbuilder/nodes/dge/dgemain/dgstart.html | 2 | ||||
-rw-r--r-- | dgbuilder/nodes/dge/dgemain/dgstart.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dgbuilder/nodes/dge/dgemain/dgstart.html b/dgbuilder/nodes/dge/dgemain/dgstart.html index 9caa841a..a203a444 100644 --- a/dgbuilder/nodes/dge/dgemain/dgstart.html +++ b/dgbuilder/nodes/dge/dgemain/dgstart.html @@ -989,7 +989,7 @@ function showDgStartGenerateXmlStatus(){ console.log("calling uploadxml. sending to server"); //var successHtmlStr = "<object width='600' height='450' type='text/html' data='" + data.url + "' />"; - if( data != undefined && data != null && (data.stdout.indexOf('Saving SvcLogicGraph to database') != -1 || data.stderr.indexOf('Saving SvcLogicGraph to database') != -1)){ + if( data != undefined && data != null && (data.stdout.indexOf('Saving SvcLogicGraph') != -1 || data.stderr.indexOf('Saving SvcLogicGraph') != -1)){ //RED.notify("<strong>Uploaded Successfully</strong>"); //console.dir(data); var _moduleName = data.module; diff --git a/dgbuilder/nodes/dge/dgemain/dgstart.js b/dgbuilder/nodes/dge/dgemain/dgstart.js index f2b4815e..e55c8271 100644 --- a/dgbuilder/nodes/dge/dgemain/dgstart.js +++ b/dgbuilder/nodes/dge/dgemain/dgstart.js @@ -250,7 +250,7 @@ function uploadDG(filePath,moduleName,rpc,res){ } if(stderr && !stdout){ //console.log("stderr:" + stderr); - if(stderr.indexOf("Saving SvcLogicGraph to database") != -1){ + if(stderr.indexOf("Saving SvcLogicGraph") != -1){ res.send(200,{'error':error,'stdout' :'','stderr':stderr,"url":dbHost,"module" : moduleName,"rpc" : rpc}); }else{ res.send(500,{'error':error,'stdout' :'','stderr':stderr}); |