[TASK] Prevent console warning in jsfunc.evalfield.js 69/49569/2
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:09:55 +0000 (07:09 +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/49569
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 d62fe62..1e10f50 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":