mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixed clicking notes on device alerts page (#8629)
This commit is contained in:
committed by
Tony Murray
parent
c88d28c10a
commit
80ef4d4324
@@ -253,12 +253,6 @@ var alerts_grid = $("#alerts_' . $unique_id . '").bootgrid({
|
||||
$(this).find(".incident-toggle").fadeIn(200);
|
||||
}).on("mouseleave", function() {
|
||||
$(this).find(".incident-toggle").fadeOut(200);
|
||||
}).on("click", "td(.incident-toggle-td)", function() {
|
||||
var target = $(this).parent().find(".incident-toggle").data("target");
|
||||
if( $(this).parent().find(".incident-toggle").hasClass(\'fa-plus\') ) {
|
||||
$(this).parent().find(".incident-toggle").toggleClass(\'fa-plus fa-minus\');
|
||||
$(target).collapse(\'toggle\');
|
||||
}
|
||||
});
|
||||
});
|
||||
alerts_grid.find(".command-ack-alert").on("click", function(e) {
|
||||
|
||||
@@ -11,5 +11,6 @@
|
||||
* option) any later version. Please see LICENSE.txt at the top level of
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
require_once 'includes/modal/alert_notes.inc.php';
|
||||
require_once 'includes/common/alerts.inc.php';
|
||||
echo implode('', $common_output);
|
||||
|
||||
Reference in New Issue
Block a user