put "no show" at the end of the select by default.

This commit is contained in:
Naomi Aro 2013-08-31 22:56:22 -04:00
parent d166f2035b
commit 614a8174d5
1 changed files with 7 additions and 7 deletions

View File

@ -680,12 +680,6 @@ var AIRTIME = (function(AIRTIME) {
$option,
show;
$option = $('<option/>')
.text($.i18n._("No Show"))
.attr('value', 0);
$select.append($option);
if (json.length > 0) {
for (i = 0; i < json.length; i++) {
@ -699,6 +693,12 @@ var AIRTIME = (function(AIRTIME) {
}
}
$option = $('<option/>')
.text($.i18n._("No Show"))
.attr('value', 0);
$select.append($option);
$hisDialogEl.find("#his_instance_select").replaceWith($select);
});
});