We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 288bf47 + 27f3816 commit 49a949aCopy full SHA for 49a949a
netbox/templates/dcim/device/config.html
@@ -39,9 +39,9 @@
39
url: "{% url 'dcim-api:device-napalm' pk=object.pk %}?method=get_config",
40
dataType: 'json',
41
success: function(json) {
42
- $('#running_config').html($.trim(json['get_config']['running']));
43
- $('#startup_config').html($.trim(json['get_config']['startup']));
44
- $('#candidate_config').html($.trim(json['get_config']['candidate']));
+ $('#running_config').text($.trim(json['get_config']['running']));
+ $('#startup_config').text($.trim(json['get_config']['startup']));
+ $('#candidate_config').text($.trim(json['get_config']['candidate']));
45
},
46
error: function(xhr) {
47
alert(xhr.responseText);
0 commit comments