[FIX] className.add gibt es nicht daher classList.add verwendet und firmwarePage.onUpdate_1() wieder in populateA() umgewandelt, bis der ganze JS code ein rewrite erhält...
This commit is contained in:
parent
e4f7638bc8
commit
078ab00800
13
firmware.php
13
firmware.php
@ -99,7 +99,7 @@ $community_id = $_REQUEST['id'];
|
||||
}
|
||||
s6.href = '#'
|
||||
s6.classList.remove('disabled', 'btn-primary', 'btn-danger', 'btn-warning', 'btn-success')
|
||||
s6.className.add('btn-primary', 'disabled')
|
||||
s6.classList.add('btn-primary', 'disabled')
|
||||
s6.textContent = 'Download Firmware'
|
||||
img_router_front.src = 'router_images/keinbild.jpg'
|
||||
img_router_back.src = 'router_images/keinbild.jpg'
|
||||
@ -147,7 +147,7 @@ $community_id = $_REQUEST['id'];
|
||||
}
|
||||
s6.href = '#'
|
||||
s6.classList.remove('disabled', 'btn-primary', 'btn-danger', 'btn-warning', 'btn-success')
|
||||
s6.className.add('btn-primary', 'disabled')
|
||||
s6.classList.add('btn-primary', 'disabled')
|
||||
s6.textContent = 'Download Firmware'
|
||||
img_router_front.src = 'router_images/keinbild.jpg'
|
||||
img_router_back.src = 'router_images/keinbild.jpg'
|
||||
@ -184,7 +184,7 @@ $community_id = $_REQUEST['id'];
|
||||
}
|
||||
s6.href = '#'
|
||||
s6.classList.remove('disabled', 'btn-primary', 'btn-danger', 'btn-warning', 'btn-success')
|
||||
s6.className.add('btn-primary', 'disabled')
|
||||
s6.classList.add('btn-primary', 'disabled')
|
||||
s6.textContent = 'Download Firmware'
|
||||
img_router_front.src = newImageFront
|
||||
img_router_back.src = newImageBack
|
||||
@ -244,7 +244,7 @@ $community_id = $_REQUEST['id'];
|
||||
}
|
||||
s6.href = '#'
|
||||
s6.classList.remove('disabled', 'btn-primary', 'btn-danger', 'btn-warning', 'btn-success')
|
||||
s6.className.add('btn-primary', 'disabled')
|
||||
s6.classList.add('btn-primary', 'disabled')
|
||||
s6.textContent = 'Download Firmware'
|
||||
}
|
||||
function populateE () {
|
||||
@ -295,7 +295,7 @@ $community_id = $_REQUEST['id'];
|
||||
}
|
||||
s6.href = link
|
||||
s6.classList.remove('disabled', 'btn-primary', 'btn-danger', 'btn-warning', 'btn-success')
|
||||
s6.className.add(linkclass)
|
||||
s6.classList.add(linkclass)
|
||||
s6.textContent = 'Download Firmware'
|
||||
}
|
||||
</script>
|
||||
@ -349,7 +349,7 @@ $community_id = $_REQUEST['id'];
|
||||
<h3 class="panel-title">Router Hersteller</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<select id="fw-dl-1" name="fw-dl-1" class="form-control" onchange="firmwarePage.onUpdate_1()">
|
||||
<select id="fw-dl-1" name="fw-dl-1" class="form-control" onchange="populateA()">
|
||||
<option value="">Hersteller auswählen</option>
|
||||
<?php foreach ($hersteller as $value): ?>
|
||||
<option value="<?php echo $value['name']?>"><?php echo $value['name']?></option>
|
||||
@ -379,6 +379,7 @@ $community_id = $_REQUEST['id'];
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
|
Loading…
Reference in New Issue
Block a user