Page 1 of 1

BUG: Date Quick Pick script bug in OrderNotesManager.aspx.cs

Posted: Fri May 04, 2018 1:44 am
by jguengerich
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:

Code: Select all

string setStart = "startPicker.value = '{0}';";  // Remove two extra parentheses before the first semicolon.
instead of:

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.
instead of:

Code: Select all

string clearStart = "startPicker.value = ''";
EDIT: Submitted bug report also.