This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Estimate and Elapsed Warning | |
description: Warn user to enter estimated and elapsed time | |
author: Rob Sobers | |
version: 1.0.0.0 | |
js: | |
if (!window.clickBugSubmit) return; | |
window.clickBugSubmit = (function(fnOrig) { | |
return function(e, elForm, fXMLSubmit, sValue, bOK) { | |
if(bOK) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sWarning = "The elapsed time has not been updated for " | |
+ "this case!\n\n" | |
+ "Do you want to save anyway?"; | |
var fHasEstimate = ((goBug.hrsOrigEst + goBug.hrsCurrEst) > 0); | |
if (!fHasEstimate) return; | |
if (!window.clickBugSubmit) return; | |
window.clickBugSubmit = (function(fnOrig) { |
NewerOlder