mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 12:26:15 +02:00
This commit's contents were auto-generated. They wrap all viewjs
in functions and define a common prologue.
New file contents:
```js
function VIEWNAMEView(Grocy, scope = null)
{
var $scope = $;
if(scope != null)
{
$scope = $(scope).find;
}
// original contents indented with \t
}
```
16 lines
272 B
JavaScript
16 lines
272 B
JavaScript
function batteriessettingsView(Grocy, scope = null)
|
|
{
|
|
var $scope = $;
|
|
if (scope != null)
|
|
{
|
|
$scope = $(scope).find;
|
|
}
|
|
|
|
Grocy.Use("numberpicker");
|
|
|
|
$("#batteries_due_soon_days").val(Grocy.UserSettings.batteries_due_soon_days);
|
|
|
|
RefreshLocaleNumberInput();
|
|
|
|
}
|