Compare commits

...

2 Commits

Author SHA1 Message Date
a65fd5ddb2 no need for isInstance param 2025-03-05 00:52:52 +00:00
d246e01dd7 fix bad js class 2025-03-05 00:52:33 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ const openFilterForm = async id => {
$("#formWhitelist").prop("checked", data.is_whitelist);
$("#formInsensitive").prop("checked", data.is_insensitive);
HSSelect.getInstance("#formAlgorithm", true) //setValue(data.algorithm);
HSSelect.getInstance("#formAlgorithm").setValue(data.algorithm);
}
HSOverlay.open($("#filterModal").get(0));

View File

@ -57,7 +57,7 @@
</div>
</div>
<button type="button" class="openfilterModal-js py-2 px-3 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent bg-blue-600 text-white hover:bg-blue-700 focus:outline-none focus:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none">
<button type="button" class="openFilterModal-js py-2 px-3 inline-flex items-center gap-x-2 text-sm font-medium rounded-lg border border-transparent bg-blue-600 text-white hover:bg-blue-700 focus:outline-none focus:bg-blue-700 disabled:opacity-50 disabled:pointer-events-none">
<svg class="shrink-0 size-4" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/><path d="M12 5v14"/></svg>
<span>
Add