Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1478 from ExactTarget/no-selected-item-protection
Browse files Browse the repository at this point in the history
Prevent repeat selectlist from being undefined in scheduler
  • Loading branch information
interactivellama committed Aug 20, 2015
2 parents e391532 + d34d829 commit f162d77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/scheduler.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,8 @@

if (!data) {
selectedItem = this.$repeatIntervalSelect.selectlist('selectedItem');
val = selectedItem.value;
txt = selectedItem.text;
val = selectedItem.value || "";
txt = selectedItem.text || "";
} else {
val = data.value;
txt = data.text;
Expand Down

0 comments on commit f162d77

Please sign in to comment.