1. Under <PROD-HOME>/custom/scripts take a backup of CustomScript.js.
2. Download the CustomScript.js. and place it in the same folder
3. Clear the browser cache once and then try to add a worklog. You should get a warning message when both the fields have 0 value.
Points to be noted:
* This is only UI implemented validation which is applicable only for UI forms. Additions/modifications made through API or mobile app will not undergo this zero/null time spent validation.
* This validation is applicable for all work logs across all modules
* This validation will not be applicable if the work log is in Contract of Service Plan type Charge Per Hour