From 4ef5feed8c2d743c9d2fb1268ef2f5fb93644845 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Mon, 18 Aug 2014 22:20:28 +0100 Subject: [PATCH] fix showing tooltip when col is shown --- Netdisco/share/views/ajax/device/ports.tt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Netdisco/share/views/ajax/device/ports.tt b/Netdisco/share/views/ajax/device/ports.tt index 2e1130ce..f632c7f5 100644 --- a/Netdisco/share/views/ajax/device/ports.tt +++ b/Netdisco/share/views/ajax/device/ports.tt @@ -636,10 +636,16 @@ $(document).ready(function() { $(button).find('span').text('Connected Devices'); } + // need to re-activate tooltips on new content + $(button).click(function() { + $("[rel=tooltip]").tooltip({live: true}); + }); + $('#nd_column-controls').append( button ); } } } + }); //]]>