From 447eb07e7d5db7eee63e9994fae7877d9af05249 Mon Sep 17 00:00:00 2001 From: Vlad Tansky Date: Thu, 4 Dec 2014 12:59:05 +0200 Subject: [PATCH] removed: saving tab in movements. --- page/militaryAdvisor.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/page/militaryAdvisor.js b/page/militaryAdvisor.js index 93ae853..ef8dfb7 100644 --- a/page/militaryAdvisor.js +++ b/page/militaryAdvisor.js @@ -46,16 +46,9 @@ zJS.Page.militaryAdvisor = { $ikaeasy_militaryView_cb.removeClass('ikaez_active'); $(this).addClass('ikaez_active'); updateTableActions(action); - zJS.Utils.settingsStorage.setItem('MilitaryMovements_tab', action); + //zJS.Utils.settingsStorage.setItem('MilitaryMovements_tab', action); }); -var active_tab=zJS.Utils.settingsStorage.getItem('MilitaryMovements_tab'); - $('#js_MilitaryMovementsFleetMovementsTable a[data-ikaeztype='+active_tab+']').addClass('ikaez_active'); - if(active_tab!="all") { - console.log('not true '+zJS.Utils.settingsStorage.getItem('MilitaryMovements_tab')); - $js_MilitaryMovementsFleetMovementsTable.find('tr:not(.ikaeasy_complete, '+active_tab+')').has('.mission_icon').hide(); - } - function updateTableActions(action){ console.log('update table actions'); if(action=="all") {