From 05dc57ceb723712c5ea8bf9d735457d89a0a36eb Mon Sep 17 00:00:00 2001 From: cTn Date: Fri, 8 Nov 2013 18:43:51 +0100 Subject: [PATCH] locked tabs notify --- js/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/main.js b/js/main.js index a82e6fcfb0..82da4d1c47 100644 --- a/js/main.js +++ b/js/main.js @@ -40,6 +40,7 @@ $(document).ready(function() { $('a', tabs).click(function() { if ($(this).parent().hasClass('active') == false) { // only initialize when the tab isn't already active if (connectionId < 1 || configuration_received == false) { // if there is no active connection, return + notify('You need to connect before you can view any of the tabs', 'red'); return; }