File tree Expand file tree Collapse file tree
src/main/resources/static Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 document . getElementById ( 'div3' ) . style . height = h + 'px' ;
7171 }
7272 function load ( ) {
73+ document . getElementById ( 'div1' ) . innerHTML = '' ;
74+ document . getElementById ( 'div2' ) . innerHTML = '' ;
75+ document . getElementById ( 'div3' ) . innerHTML = '<pre id="json-viewer"></pre>' ;
7376 var testid = document . getElementById ( 'testid' ) . value ;
7477 //console.log( "testid: " + testid );
7578 //tree
7881 type : 'GET' ,
7982 success : function ( treedata ) {
8083 //console.log( "Tree Data: " + treedata );
81- document . getElementById ( 'div1' ) . innerHTML = '<pre>' + treedata + '</pre>' ;
84+ document . getElementById ( 'div1' ) . innerHTML = treedata ;
8285 }
8386 } ) ;
8487 //log
97100 collapsed :true ,
98101 withQuotes :false
99102 } ) ;
100- } ) ;
103+ } ) ;
101104 }
102105 </ script >
103106</ head >
104107< body onload ="resize() ">
105108< br >
106109ID < input type ="text " id ="testid " name ="testid "> < input type ="text " id ="anzahl " name ="anzahl " value ="10 " style ="width: 40px; ">
107- < a href ="# " class ="clickme success " onclick ="load() "> [Load/Reload ]</ a >
110+ < a href ="# " class ="clickme success " onclick ="load() "> [Load/Refresh ]</ a >
108111< a href ="/swagger-ui/api-docs.html " target ="_blank " class ="clickme success "> [Swagger-UI]</ a >
109112< a href ="/v3/api-docs " target ="_blank " class ="clickme success "> [API Docs]</ a >
110113< a href ="/actuator/logfile " target ="_blank " class ="clickme success "> [Logfile]</ a >
You can’t perform that action at this time.
0 commit comments