Jul 15th, 2013, 9:51 AM
I get a js error on page when I have no date fields search able on an internal form.
The section I am having problems with is here:
/**
* Used to hide/show the additional date search options. With 2.1.0, any field can be a date field. We identify
* them via a "date" class on the <option> element.
*
* @param string choice the selected column name
*/
ms.change_search_field = function(val) {
if (val.match(/\|date$/)) {
$("#search_dropdown_section").show();
} else {
$("#search_dropdown_section").hide();
}
}
The problem is that the view I want setup does not have a search date field, so the page returns an error as follows:
Message: 'undefined' is null or not an object
Line: 428
Char: 3
Code: 0
URI: http://ca220k3fps02/clients/cox/Feedback_Tracker/live/global/scripts/manage_submissions.js
Normally I wouldn't care, but this also breaks the export extention.
The section I am having problems with is here:
/**
* Used to hide/show the additional date search options. With 2.1.0, any field can be a date field. We identify
* them via a "date" class on the <option> element.
*
* @param string choice the selected column name
*/
ms.change_search_field = function(val) {
if (val.match(/\|date$/)) {
$("#search_dropdown_section").show();
} else {
$("#search_dropdown_section").hide();
}
}
The problem is that the view I want setup does not have a search date field, so the page returns an error as follows:
Message: 'undefined' is null or not an object
Line: 428
Char: 3
Code: 0
URI: http://ca220k3fps02/clients/cox/Feedback_Tracker/live/global/scripts/manage_submissions.js
Normally I wouldn't care, but this also breaks the export extention.