X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=dgbuilder%2Fpublic%2Findex.html;h=499f48abe0f1e55775ce405d203a43119ee01dd9;hb=b1ac7253c276b1848a37f8e16d8aab93e643a97e;hp=07090db8050abc9479015c0677652ef8fc115e02;hpb=d1569975bb18f4359fac18aa98f55b69c248a3ad;p=ccsdk%2Fdistribution.git diff --git a/dgbuilder/public/index.html b/dgbuilder/public/index.html index 07090db8..499f48ab 100644 --- a/dgbuilder/public/index.html +++ b/dgbuilder/public/index.html @@ -25,9 +25,17 @@
? | Help | +Ctrl ? | Help | Ctrl a | Select all nodes |
Ctrl x | Cut selected nodes | Ctrl b | Find Node | ||
Ctrl o | RPC Input | ++ | |||
Ctrl c | Copy selected nodes | Ctrl v | Paste nodes | @@ -222,6 +234,11 @@ + + + + + - @@ -276,7 +292,8 @@ RED.keyboard.add(/* M */ 77,{ctrl:true},function(){RED.menu.setSelected("btn-node-panel",!RED.menu.isSelected("btn-node-panel"));d3.event.preventDefault();}); RED.menu.setSelected("btn-node-panel",true); }); - +var format_xml = "Y"; +var format_json = "Y"; var sliValuesObj = {}; var rpcValues = {}; var reqInputValues = {}; @@ -327,6 +344,20 @@ var urlPath="/getRelease"; .always(function() { }); }); + +$.get("/getCurrentSettings") + .done(function( data ) { + //console.dir(data); + if(data != undefined && data != null){ + format_xml = data.formatXML; + format_json = data.formatJSON; + } + }) + .fail(function(err) { + }) + .always(function() { + }); +