mirror of
https://github.com/grocy/grocy.git
synced 2026-04-09 22:16:16 +02:00
Auto focus the amount field on the qu plural form testing page (references #261)
This commit is contained in:
parent
346b589534
commit
9f18b75526
|
|
@ -36,3 +36,5 @@ if (GetUriParam("qu") !== undefined)
|
||||||
$("#qu_id").val(GetUriParam("qu"));
|
$("#qu_id").val(GetUriParam("qu"));
|
||||||
$("#qu_id").trigger("change");
|
$("#qu_id").trigger("change");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$("#amount").focus();
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
@include('components.numberpicker', array(
|
@include('components.numberpicker', array(
|
||||||
'id' => 'amount',
|
'id' => 'amount',
|
||||||
'label' => 'Amount',
|
'label' => 'Amount',
|
||||||
'min' => 0.0001,
|
'min' => 0,
|
||||||
'step' => 1,
|
'step' => 1,
|
||||||
'isRequired' => false,
|
'isRequired' => false,
|
||||||
'value' => 1
|
'value' => 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user