From 7c12df6b83bc31fc0a9748456cda2fa23281083f Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Thu, 21 Dec 2017 00:13:03 +0000 Subject: [PATCH] refresh tooltips when the datatables table is updated --- share/views/js/device.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/share/views/js/device.js b/share/views/js/device.js index 5bfdfc7e..16e48a9b 100644 --- a/share/views/js/device.js +++ b/share/views/js/device.js @@ -95,6 +95,11 @@ } }); + // refresh tooltips when the datatables table is updated + $('#ports_pane').on('draw.dt', function() { + $("[rel=tooltip]").tooltip({live: true}); + }); + // activity for admin tasks in device details $('#details_pane').on('click', '.nd_adminbutton', function(event) { // stop form from submitting normally