put "no show" at the end of the select by default.
This commit is contained in:
parent
d166f2035b
commit
614a8174d5
|
@ -679,13 +679,7 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
}),
|
}),
|
||||||
$option,
|
$option,
|
||||||
show;
|
show;
|
||||||
|
|
||||||
$option = $('<option/>')
|
|
||||||
.text($.i18n._("No Show"))
|
|
||||||
.attr('value', 0);
|
|
||||||
|
|
||||||
$select.append($option);
|
|
||||||
|
|
||||||
if (json.length > 0) {
|
if (json.length > 0) {
|
||||||
|
|
||||||
for (i = 0; i < json.length; i++) {
|
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);
|
$hisDialogEl.find("#his_instance_select").replaceWith($select);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue