Improve unlock button for receiving OrderArticles manually adjusted

Conflicts:
	app/views/orders/_edit_amount.html.haml
This commit is contained in:
Julius 2014-01-03 22:26:20 +01:00 committed by wvengen
parent a8e604c196
commit 8479678530
4 changed files with 16 additions and 7 deletions

View file

@ -62,8 +62,8 @@
}
function unlock_receive_input_field() {
$('.units_received', $(this).closest('tr')).prop('disabled', false);
$(this).remove();
$('.units_received', $(this).closest('tr')).prop('disabled', false).focus();
$(this).replaceWith('<i class="icon icon-warning-sign add-on"></i>');
}
%table#order_articles.ordered-articles.table.table-striped.stupidtable