Changelog: https://roxy-wi.org/changelog#6_3_0
This commit is contained in:
Pavel Loginov
2022-11-20 10:48:15 +03:00
parent 084b0b65fa
commit c24203e70a
11 changed files with 205 additions and 105 deletions

View File

@@ -758,7 +758,11 @@ $( function() {
$( "#tabs" ).tabs();
$( "select" ).selectmenu();
//$( "[title]" ).tooltip();
$( "[title]" ).tooltip({
"content": function(){
return $(this).attr("data-help");
}
});
$( "input[type=submit], button" ).button();
$( "input[type=checkbox]" ).checkboxradio();
$( ".controlgroup" ).controlgroup();
@@ -1592,3 +1596,12 @@ function sendGet(page) {
xmlHttp.open("GET", theUrl, true); // true for asynchronous
xmlHttp.send(null);
}
function show_pretty_ansible_error(data) {
try {
data = data.split('error: ');
var p_err = JSON.parse(data[1]);
return p_err['msg'];
} catch (e) {
return data;
}
}