|
|
@ -249,9 +249,6 @@ |
|
|
|
$("#form-edit").validate({focusCleanup: true}); |
|
|
|
function submitHandler() { |
|
|
|
if ($.validate.form()) { |
|
|
|
$("#selectMaterialType").removeAttr("disabled"); |
|
|
|
$("#selectProcessMethod").removeAttr("disabled"); |
|
|
|
$("#selectUnit").removeAttr("disabled"); |
|
|
|
var materialType = $('#selectMaterialType').select2('val'); |
|
|
|
$('#materialType').val(materialType); |
|
|
|
if ($('textarea[name="comment"]').val()) { |
|
|
|