diff --git a/js/firmware.js b/js/firmware.js
index 15864c3..0c46b79 100644
--- a/js/firmware.js
+++ b/js/firmware.js
@@ -83,12 +83,17 @@ function change (origin, select) {
.material_select();
}
else if(origin === 'version') {
+ var id = $('#version').val()
$('#entwicklungsstadium')
.attr('disabled', '')
.material_select()
- $('#erstinstallation').html("" +
- "" +
- "")
+ $('#erstinstallation').html("")
+ if(router_json[id].stablefactory === 1) {
+ $('#erstinstallation').append('');
+ }
+ if(router_json[id].stablesysupgrade === 1) {
+ $('#erstinstallation').append('');
+ }
$('#erstinstallation').removeAttr('disabled')
$('#erstinstallation').material_select()
$('#img_router_front').attr("src", router_json[$(select).val()].imagefront)
@@ -98,7 +103,6 @@ function change (origin, select) {
var stadium = $('#entwicklungsstadium')
stadium.html("")
var id = $('#version').val()
- console.log(router_json[id])
if (router_json[id].stablefactory == 1) {
stadium.append("")
}