fixed smart block criteria view to show dropdown based upon current values vs. database values to fix display when form is invalid

This commit is contained in:
Robb Ebright 2018-01-04 15:49:03 -05:00
parent 015bcea70d
commit fc4f82a83a
2 changed files with 10 additions and 6 deletions

View file

@ -529,7 +529,6 @@ function setupUI() {
* and shows the criteria drop-down
*/
function enableAndShowDateTimeDropdown(valEle, index) {
console.log('datetime show');
var spanDatetime = valEle.nextAll("#datetime_select");
spanDatetime.children('#sp_criteria_datetime_select_'+index).removeAttr("disabled");
spanDatetime.children('#sp_criteria_extra_datetime_select_'+index).removeAttr("disabled");