- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
applications_menu_container.find('a').click(function () {
if ($(this).parent('.disabled').length === 0 || $(this).parent('.active').length === 0) {
applications_menu_container.find('li').removeClass('active');
$(this).parent().addClass('active');
switch ($(this).attr('id')) {
case 'active_applications':
applications_history_container.hide();
applications_history_pagination_toolbar.hide();
application_add_container.hide();
active_applications_sub_menu.hide();
change_application_sub_container.hide();
application_history_sub_container.hide();
application_files_sub_container.hide();
applications_history_sub_menu.hide();
historical_application_history_sub_container.hide();
historical_application_files_sub_container.hide();
load_active_applications(0, 10);
break;
case 'applications_history':
active_applications_container.hide();
active_applications_bottom_toolbar.hide();
application_add_container.hide();
active_applications_sub_menu.hide();
change_application_sub_container.hide();
application_history_sub_container.hide();
application_files_sub_container.hide();
applications_history_sub_menu.hide();
historical_application_history_sub_container.hide();
historical_application_files_sub_container.hide();
load_applications_history(0, 10);
break;
case 'new_application':
default:
active_applications_container.hide();
active_applications_bottom_toolbar.hide();
applications_history_container.hide();
applications_history_pagination_toolbar.hide();
active_applications_sub_menu.hide();
change_application_sub_container.hide();
application_history_sub_container.hide();
application_files_sub_container.hide();
applications_history_sub_menu.hide();
historical_application_history_sub_container.hide();
historical_application_files_sub_container.hide();
show_add_application_form();
break;
}
}
return false;
});
istem 25.03.2016 22:14 # 0
guest 25.03.2016 23:47 # +5