(bug #2831) Add a variable, that create a js error, and make the script not working.
the variable added is numberpattern, and is get from the document. Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
7588809b0d
commit
a43c8408e4
|
|
@ -628,7 +628,7 @@ function irregularity_check(){
|
|||
errortext +=expected+_(" issues expected, ")+rollover+_(" were entered. <br \/>Please indicate which date(s) an issue is not expected<br \/>");
|
||||
irregular_issues.numskipped = expected - rollover;
|
||||
}
|
||||
errortext +="<select multiple id='irregularity_select' name='irregularity_select' onchange='irregular_issues.update();'>\n";
|
||||
errortext +="<select multiple id='irregularity_select' name='irregularity_select' onchange='irregular_issues.update();'>\n";
|
||||
errortext +=irregular_options(periodicity);
|
||||
errortext += "<\/select>\n <textarea rows='6' width='18' id='irregularity_summary' name='irregularity_summary' value='foo' />";
|
||||
error=errortext;
|
||||
|
|
@ -649,6 +649,7 @@ function irregular_options(periodicity){
|
|||
var titles;
|
||||
var count;
|
||||
var errortext='';
|
||||
var numberpattern = document.getElementById('numberpattern').value;
|
||||
if(periodicity == 1) {
|
||||
expected = 7;
|
||||
titles = irregular_issues.daynames;
|
||||
|
|
|
|||
Loading…
Reference in New Issue