[TASK] Prevent console warning in jsfunc.evalfield.js 65/49565/4
authorWouter Wolters <typo3@wouterwolters.nl>
Tue, 23 Aug 2016 20:13:00 +0000 (22:13 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 24 Aug 2016 05:08:56 +0000 (07:08 +0200)
Remove the unreachable code to prevent a warning on the console.

Resolves: #77539
Releases: master,7.6
Change-Id: I679a13456ac5e22b2522d8273a4253a93d9fdc2d
Reviewed-on: https://review.typo3.org/49565
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.evalfield.js

index 111aed5..3403a6d 100644 (file)
@@ -260,7 +260,6 @@ function evalFunc_input(type,inVal) {
        value = this.caseSwitch(type,value);
        if (value=="") {
                return "";
-               return 0;       // Why would I ever return a zero??? (20/12/01)
        }
        switch (type) {
                case "datetime":