grocy/public/js
Maximilian Bosch 34ffdb2b4b
Adds a few small frontend fixes (#995)
* Add a few instructions to the readme on how to get `grocy` running locally

* Fix toggle for header-clock

I'm not 100% sure why, but with this change, the listener which calls
`CheckHeaderClockEnabled` will be invoked *before* the listener which
persists the setting.

If the setting is persisted before that, the clock doesn't show up when
enabling it in the settings-menu and appears/disappears in the exact
opposite way the setting is true/false.

* Allow replacing a product picture when removing it at first

Right now, a preview image of a product doesn't get updated when
pressing the delete-button at first and adding a new image the
upload-form which can be quite confusing for an end-user.

This patch allows to delete an image and add a new one in one go.

* Add `Save & return` button to product form

Same concept as for recipes: when pressing this button, the user will
stay at the form's site after saving.

* Removed unneeded class

* Revert "Add a few instructions to the readme on how to get `grocy` running locally"

This reverts commit 6ffad1d3c7.

Co-authored-by: Bernd Bestel <bernd@berrnd.de>
2020-09-08 17:46:37 +02:00
..
extensions.js Applied formatting rules for by #986 changed files 2020-09-06 10:10:30 +02:00
grocy_clock.js Adds a few small frontend fixes (#995) 2020-09-08 17:46:37 +02:00
grocy_dbchangedhandling.js Fixed JS errors on the login page 2019-09-21 08:25:32 +02:00
grocy_nightmode.js Applied EditorConfig settings to all files 2020-08-29 16:41:27 +02:00
grocy_uisound.js Applied VSCode JS formatting settings 2020-08-30 12:18:16 +02:00
grocy_wakelockhandling.js Applied VSCode JS formatting settings 2020-08-30 12:18:16 +02:00
grocy.js Locales: use http-accept-language or cookie (#976) 2020-08-31 19:11:51 +02:00