[BUGFIX] Make loading of depth in workspace module work for 0 08/60508/2
authorDaniel Goerz <daniel.goerz@posteo.de>
Thu, 18 Apr 2019 07:09:46 +0000 (09:09 +0200)
committerBenni Mack <benni@typo3.org>
Tue, 23 Apr 2019 08:38:29 +0000 (10:38 +0200)
commit389a8db768c5d8f347166a303c34a42804cfedc4
tree88047277980f648fcd9b656ab01379972b3ac27e
parentaf183b60e1745c3768a08e78b5db487a785cc44a
[BUGFIX] Make loading of depth in workspace module work for 0

The implementation of storing the depth selection in the
workspace module did not account for the "This site"
option and the according value "0".

With this patch now all options of the depth selector can
be stored and loaded from UC.

Resolves: #88168
Releases: master, 9.5
Change-Id: I21ea3a4e300dbb71516679ea9f5ac901364b0c4c
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60508
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Achim Fritz <af@achimfritz.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Achim Fritz <af@achimfritz.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/workspaces/Resources/Public/JavaScript/Backend.js