Created
August 8, 2013 17:43
-
-
Save danieltott/6186858 to your computer and use it in GitHub Desktop.
Fogbugz Customization: Add elapsed time input when it's missing
This file contains 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: Add elapsed time when missing | |
description: Adds elapsed time input when missing | |
author: Dan Ott | |
version: 1.0.0.0 | |
js: | |
$(document).on('keyup.estcheck', '#hrsCurrEstNew',function() { | |
if($("#hrsElapsedExtraNew").length == 0) { | |
$('<div class="wideInputWrapper"><input type="text" maxlength="40" name="hrsElapsedExtraNew" id="hrsElapsedExtraNew" class="bugEditing dlgText" tabindex="612" value=""></div>').insertAfter($(this).parent()); | |
$('<span></span>').text('elapsed: ').insertAfter($(this).parent()); | |
} | |
$(document).off('keyup.estcheck'); | |
}); | |
css: | |
/* none */ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment