typo
This commit is contained in:
parent
242c61a2f7
commit
34f147d4b3
@ -13,13 +13,13 @@ function change (origin, select) {
|
|||||||
.material_select()
|
.material_select()
|
||||||
var modelle = []
|
var modelle = []
|
||||||
for (var i = 0; i < anzahl_hersteller; i++) {
|
for (var i = 0; i < anzahl_hersteller; i++) {
|
||||||
if ($(select).find('option:selected').html() == herstellername[i]) {
|
if ($(select).find('option:selected').html() === herstellername[i]) {
|
||||||
var j = 0
|
var j = 0
|
||||||
while (j < router_json.length) {
|
while (j < router_json.length) {
|
||||||
if (router_json[j].hersteller == herstellername[i]) {
|
if (router_json[j].hersteller === herstellername[i]) {
|
||||||
modelle[j] = router_json[j].modell
|
modelle[j] = router_json[j].modell
|
||||||
if (j < router_json.length - 1) {
|
if (j < router_json.length - 1) {
|
||||||
while (router_json[j].modell == router_json[j + 1].modell) {
|
while (router_json[j].modell === router_json[j + 1].modell) {
|
||||||
if (j < router_json.length - 1) {
|
if (j < router_json.length - 1) {
|
||||||
j++
|
j++
|
||||||
} else {
|
} else {
|
||||||
|
@ -56,9 +56,9 @@ $community_id = $_REQUEST['id'];
|
|||||||
</div>
|
</div>
|
||||||
<?php endfor ?>
|
<?php endfor ?>
|
||||||
<div class="col s12">
|
<div class="col s12">
|
||||||
<h5>Stadtteilauswahl</h5>
|
<h5>Auswahl Stadtteilnetz</h5>
|
||||||
<select id="stadtteil" onchange="change('stadtteil', this)">
|
<select id="stadtteil" onchange="change('stadtteil', this)">
|
||||||
<option disabled selected value="">Stadtteil auswählen</option>
|
<option disabled selected value="">Stadtteilnetz auswählen</option>
|
||||||
<?php foreach ($community[$community_id]["sub_auswahl"] as $value): ?>
|
<?php foreach ($community[$community_id]["sub_auswahl"] as $value): ?>
|
||||||
<option value="<?php echo $value ?>"><?php echo $community[$value]['name']?></option>
|
<option value="<?php echo $value ?>"><?php echo $community[$value]['name']?></option>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user