BUG: Date Quick Pick script bug in OrderNotesManager.aspx.cs
Posted: Fri May 04, 2018 1:44 am
In R12, there are two errors in the code that builds the javascript dateQP function in \Admin\Orders\OrderNotesManager.aspx.cs. These errors result in an invalid script, so the date fields are not filled in when you choose an item from the Date Quick Pick drop-down.
Error # 1:
Line 32 should be:
instead of:
Error #2:
Line 34 should be:
instead of:
EDIT: Submitted bug report also.
Error # 1:
Line 32 should be:
Code: Select all
string setStart = "startPicker.value = '{0}';"; // Remove two extra parentheses before the first semicolon.
Code: Select all
string setStart = "startPicker.value = '{0}'));";
Error #2:
Line 34 should be:
Code: Select all
string clearStart = "startPicker.value = '';"; // Add semicolon between the second single quote and the double quote.
Code: Select all
string clearStart = "startPicker.value = ''";