mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-20 20:59:12 +08:00
fix: the 'all' and 'clear all' btns do not make sense when choosing printers (#7465)
fix: the 'all' and 'clear all' btns do not make sense when choosing or adding printers Co-authored-by: meiliang1123 <meiliang1123@126.com>
This commit is contained in:
parent
776901005c
commit
5178fee0f3
@ -303,12 +303,18 @@ function FilterModelList(keyword) {
|
|||||||
function SelectPrinterAll( sVendor )
|
function SelectPrinterAll( sVendor )
|
||||||
{
|
{
|
||||||
$("input[vendor='"+sVendor+"']").prop("checked", true);
|
$("input[vendor='"+sVendor+"']").prop("checked", true);
|
||||||
|
$("input[vendor='"+sVendor+"']").each(function() {
|
||||||
|
CheckBoxOnclick(this);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function SelectPrinterNone( sVendor )
|
function SelectPrinterNone( sVendor )
|
||||||
{
|
{
|
||||||
$("input[vendor='"+sVendor+"']").prop("checked", false);
|
$("input[vendor='"+sVendor+"']").prop("checked", false);
|
||||||
|
$("input[vendor='"+sVendor+"']").each(function() {
|
||||||
|
CheckBoxOnclick(this);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -303,12 +303,18 @@ function FilterModelList(keyword) {
|
|||||||
function SelectPrinterAll( sVendor )
|
function SelectPrinterAll( sVendor )
|
||||||
{
|
{
|
||||||
$("input[vendor='"+sVendor+"']").prop("checked", true);
|
$("input[vendor='"+sVendor+"']").prop("checked", true);
|
||||||
|
$("input[vendor='"+sVendor+"']").each(function() {
|
||||||
|
CheckBoxOnclick(this);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function SelectPrinterNone( sVendor )
|
function SelectPrinterNone( sVendor )
|
||||||
{
|
{
|
||||||
$("input[vendor='"+sVendor+"']").prop("checked", false);
|
$("input[vendor='"+sVendor+"']").prop("checked", false);
|
||||||
|
$("input[vendor='"+sVendor+"']").each(function() {
|
||||||
|
CheckBoxOnclick(this);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function OnExitFilter() {
|
function OnExitFilter() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user