crowbar_framework/app/assets/javascripts/installer.js
Function statusCheck
has 69 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function statusCheck() {
$.ajax({
type: "GET",
dataType: "json",
url: Routes.status_installer_path(),
- Create a ticketCreate a ticket
Function success
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
success: function(data) {
// check for invalid network.json
$("#network-alert").remove();
if (!data.network.valid) {
$(".button_to").find("input").prop("disabled", true);
- Create a ticketCreate a ticket