bugfixtest

This commit is contained in:
labcode-de 2017-09-23 18:46:38 +02:00
parent b5a3e6fa3b
commit 7d778934f5
No known key found for this signature in database
GPG Key ID: 9CDB093B80490C2F
2 changed files with 3 additions and 2 deletions

View File

@ -54,7 +54,7 @@
), ),
array( array(
"name" => "GL-Inet", "name" => "GL-Inet",
"filename" => "-gl-", "filename" => "gl",
"offset_modell" => 3, "offset_modell" => 3,
"offset_version" => 4 "offset_version" => 4
), ),

View File

@ -96,8 +96,9 @@ function change (origin, select) {
} }
else if (origin === 'erstinstallation') { else if (origin === 'erstinstallation') {
var stadium = $('#entwicklungsstadium') var stadium = $('#entwicklungsstadium')
stadium.html("<option disabled value=''>Firmware Erstinstallation?</option>") stadium.html("<option disabled value=''>Firmware Entwicklungsstadium?</option>")
var id = $('#version').val() var id = $('#version').val()
console.log(router_json[id])
if (router_json[id].stablefactory == 1) { if (router_json[id].stablefactory == 1) {
stadium.append("<option selected value='" + $(select).val() +"stable'>Stabil &#040;empfohlen&#041;</option>") stadium.append("<option selected value='" + $(select).val() +"stable'>Stabil &#040;empfohlen&#041;</option>")
} }