mirror of
https://github.com/OpenBankProject/API-Manager.git
synced 2026-02-06 15:06:48 +00:00
Merge pull request #358 from hongwei1/develop
refactor/tweak the method MethodRoutings page
This commit is contained in:
commit
a62da42cce
@ -15,5 +15,6 @@
|
||||
}
|
||||
|
||||
.jsoneditor_div{
|
||||
display: none;
|
||||
height: 400px;
|
||||
}
|
||||
@ -41,9 +41,9 @@ $(document).ready(function($) {
|
||||
let json_editor_number = jsoneditor_id.replace("jsoneditor","");
|
||||
//if the user do not click the `parameters` box, then there is no json_editors here,so we use the parameters directly.
|
||||
if (typeof json_editors[json_editor_number] === 'undefined') {
|
||||
let parameters_Json_editor = parameters;
|
||||
parameters_Json_editor = parameters;
|
||||
} else {
|
||||
let parameters_Json_editor = JSON.stringify(json_editors[json_editor_number].get());
|
||||
parameters_Json_editor = JSON.stringify(json_editors[json_editor_number].get());
|
||||
}
|
||||
$('.runner button.forSave').attr("disabled","disabled");
|
||||
$('.runner button.forDelete').attr("disabled","disabled");
|
||||
|
||||
@ -131,7 +131,7 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-sm-12 col-sm-12">
|
||||
<div id="jsoneditor{{forloop.counter0}}" style="display: none" class ="jsoneditor_div"></div>
|
||||
<div id="jsoneditor{{forloop.counter0}}" class ="jsoneditor_div"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user