mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
js linting
This commit is contained in:
parent
71f9399760
commit
6b52a07e71
@ -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={}) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user