GUI: qos-classify.asp - If any warning/error, do not display classify table

arm-master
rs232 11 months ago
parent 2cf5c8d3ae
commit 77cb5c94f8

@ -390,18 +390,13 @@ function init() {
W('<div class="note-disabled"><p><b>CAKE is currently set in single class queue mode, in single class an automatic fair usage policy per IP is applied and classification settings not used.<\/b><\/div><\/td><\/tr></table>');
else if (nvram.qos_enable == 1 && nvram.qos_mode == 1 && nvram.qos_classify == 0)
W('<div class="note-disabled"><p><b>QoS classification is disabled.<\/b><\/div><\/td><\/tr></table>');
else
else {
show_notice1('<% notice("iptables"); %>');
W('<div class="section"><div class="tomato-grid" id="qos-cl-grid"></div></div>'); };
</script>
<!-- / / / -->
<div class="section">
<div class="tomato-grid" id="qos-cl-grid"></div>
</div>
<!-- / / / -->
<div id="footer">
<span id="footer-msg"></span>
<input type="button" value="Save" id="save-button" onclick="save()">

Loading…
Cancel
Save