put "no show" at the end of the select by default.
This commit is contained in:
parent
d166f2035b
commit
614a8174d5
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue