mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-22 06:40:54 +00:00
js linting
This commit is contained in:
@ -497,9 +497,9 @@ function deleteBuildOutputs(build_id, outputs, options={}) {
|
|||||||
afterRender: function(fields, opts) {
|
afterRender: function(fields, opts) {
|
||||||
// Setup callbacks to remove outputs
|
// Setup callbacks to remove outputs
|
||||||
$(opts.modal).find('.button-row-remove').click(function() {
|
$(opts.modal).find('.button-row-remove').click(function() {
|
||||||
var pk = $(this).attr('pk');
|
var pk = $(this).attr('pk');
|
||||||
|
|
||||||
$(opts.modal).find(`#output_row_${pk}`).remove();
|
$(opts.modal).find(`#output_row_${pk}`).remove();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
onSubmit: function(fields, opts) {
|
onSubmit: function(fields, opts) {
|
||||||
@ -550,7 +550,7 @@ function deleteBuildOutputs(build_id, outputs, options={}) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user