mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
os-firewall: fix open with uuid (https://github.com/opnsense/plugins/issues/1720)
This commit is contained in:
committed by
Ad Schellevis
parent
4d5aea8e63
commit
01543474a9
@@ -12,7 +12,7 @@
|
||||
// open edit dialog when opened with a uuid reference
|
||||
if (window.location.hash !== "" && window.location.hash.split("-").length >= 4) {
|
||||
grid.on('loaded.rs.jquery.bootgrid', function(){
|
||||
$(".command-edit:eq(0)").clone(true).data('row-id', window.location.hash).click();
|
||||
$(".command-edit:eq(0)").clone(true).data('row-id', window.location.hash.substr(1)).click();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user