Skip to content

Commit

Permalink
Merge pull request #3 from rostam/master
Browse files Browse the repository at this point in the history
small correction
  • Loading branch information
HKH515 authored Oct 4, 2017
2 parents 623f6b8 + 8543825 commit 125f368
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/resources/web/dashboard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,11 @@ function load_graph(type,isDraw) {
var str = $('#'+type+'string').val().replace(/\n/g,"-");
var isDirected = $('#graphType').find('option:selected').text();
if(type == "g6") {
str = str.replaceAll(/\?/g,"qqq");
var str2 = "";
for(var i=0;i<str.length;i++)
if(str[i] == "?") str2 += "qqq";
else str2 += str[i];
str = str2;
}
server(serverAddr + 'loadGraph' + '/'+ type + "--"
+str+"--"+isDirected+"--"+uuid,function (data) {
Expand Down

0 comments on commit 125f368

Please sign in to comment.