the variable added is numberpattern, and is get from the document.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
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;
var titles;
var count;
var errortext='';
+ var numberpattern = document.getElementById('numberpattern').value;
if(periodicity == 1) {
expected = 7;
titles = irregular_issues.daynames;