From f425762e9d9e86c58f7414058e470d7e90cc1562 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 20 Aug 2012 08:21:05 +0200 Subject: [PATCH] Fix: missing show field if "in progress" is chosen first --- htdocs/core/class/html.formactions.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formactions.class.php b/htdocs/core/class/html.formactions.class.php index 54bbb9a6ae0..6405577e228 100644 --- a/htdocs/core/class/html.formactions.class.php +++ b/htdocs/core/class/html.formactions.class.php @@ -78,7 +78,7 @@ class FormActions print 'if (mypercentage == -1) { document.'.$formname.'.percentageshown.disabled=true; jQuery(".hideifna").hide(); }'."\n"; print 'else if (mypercentage == 0) { document.'.$formname.'.percentageshown.disabled=true; jQuery(".hideifna").show();}'."\n"; print 'else if (mypercentage == 100) { document.'.$formname.'.percentageshown.disabled=true; jQuery(".hideifna").show();}'."\n"; - print 'else { document.'.$formname.'.percentageshown.disabled=false; }'."\n"; + print 'else { document.'.$formname.'.percentageshown.disabled=false; jQuery(".hideifna").show();}'."\n"; print '}'."\n"; print ''."\n"; print '