From ecdc03a2d73bd533ae9f4186056fe1427a0dd798 Mon Sep 17 00:00:00 2001 From: Matthias Jentsch Date: Wed, 29 Jul 2015 11:41:53 +0200 Subject: [PATCH] Fix selection lost after pushing refresh Remove old row action code that interfered with action table behavior. refs #8623 --- public/js/icinga/loader.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/public/js/icinga/loader.js b/public/js/icinga/loader.js index da23ebea87..32722cb6bc 100644 --- a/public/js/icinga/loader.js +++ b/public/js/icinga/loader.js @@ -587,8 +587,6 @@ if (req.$target[0].id === 'col1') { self.icinga.behaviors.navigation.resetActive(); } - } else if ($(el).closest('table.action').length) { - $(el).closest('table.action').find('.active').removeClass('active'); } }); @@ -604,8 +602,6 @@ } // Interrupt .each, only on menu item shall be active return false; - } else if ($(el).closest('table.action').length) { - $el.addClass('active'); } }); }