Skip to content

A free open source IT asset/license management system

Fixes #2080

snipe4998b5ab1bea
diff --git a/resources/views/custom_fields/show.blade.php b/resources/views/custom_fields/show.blade.php
index 9d94fc913e..eff90959e1 100644
--- a/resources/views/custom_fields/show.blade.php
+++ b/resources/views/custom_fields/show.blade.php
@@ -45,7 +45,7 @@
{{ Form::checkbox("required","on") }}
{{ trans('admin/custom_fields/general.required') }}
{{ Form::text("order",$maxid)}}
- {{ Form::select("field_id",$custom_fields_list,"",["onchange" => "document.forms[0].submit()"]) }}
+ {{ Form::select("field_id",$custom_fields_list,"",["onchange" => "$('#ordering').submit()"]) }}
<span class="alert-msg"><?= $errors->first('field_id'); ?></span>
</td>