mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 00:07:52 -06: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
2 changed files with 12 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue