mirror of
https://github.com/librenms/librenms.git
synced 2024-09-24 20:09:06 +00:00
Update to enabled calculations to be put into entity
This commit is contained in:
parent
1df57b7254
commit
7cd8cf7ecf
@ -181,7 +181,11 @@ $('#and, #or').click('', function(e) {
|
|||||||
strategy: 'array',
|
strategy: 'array',
|
||||||
tagFieldName: 'rules[]'
|
tagFieldName: 'rules[]'
|
||||||
});
|
});
|
||||||
$('#response').data('tagmanager').populate([ '%'+entity+' '+condition+' "'+value+'" '+glue ]);
|
if(entity.indexOf("%") >= 0) {
|
||||||
|
$('#response').data('tagmanager').populate([ entity+' '+condition+' '+value+' '+glue ]);
|
||||||
|
} else {
|
||||||
|
$('#response').data('tagmanager').populate([ '%'+entity+' '+condition+' "'+value+'" '+glue ]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user