2018-01-15 17:54:36 +00:00
|
|
|
$(function(){
|
2015-05-04 19:14:29 +00:00
|
|
|
$('#recentsearch,#propersearch').click(function(){
|
|
|
|
$(this).addClass('disabled');
|
2018-01-15 17:54:36 +00:00
|
|
|
});
|
2015-05-04 19:14:29 +00:00
|
|
|
$('#forcebacklog,#forcefullbacklog').click(function(){
|
|
|
|
$('#forcebacklog,#forcefullbacklog').addClass('disabled');
|
|
|
|
$('#pausebacklog').removeClass('disabled');
|
2018-01-15 17:54:36 +00:00
|
|
|
});
|
2015-05-04 19:14:29 +00:00
|
|
|
$('#pausebacklog').click(function(){
|
|
|
|
$(this).addClass('disabled');
|
2018-01-15 17:54:36 +00:00
|
|
|
});
|
2015-05-04 19:14:29 +00:00
|
|
|
$('.show-all-less').click(function(){
|
|
|
|
$(this).nextAll('table').hide();
|
|
|
|
$(this).nextAll('input.shows-more').show();
|
|
|
|
$(this).nextAll('input.shows-less').hide();
|
2018-01-15 17:54:36 +00:00
|
|
|
});
|
2015-05-04 19:14:29 +00:00
|
|
|
$('.show-all-more').click(function(){
|
|
|
|
$(this).nextAll('table').show();
|
|
|
|
$(this).nextAll('input.shows-more').hide();
|
|
|
|
$(this).nextAll('input.shows-less').show();
|
2018-01-15 17:54:36 +00:00
|
|
|
});
|
2015-05-04 19:14:29 +00:00
|
|
|
|
|
|
|
$('.shows-less').click(function(){
|
2018-01-27 19:31:34 +00:00
|
|
|
var table$ = $(this).nextAll('table:first');
|
|
|
|
table$ = table$.length ? table$ : $(this).parent().nextAll('table:first');
|
|
|
|
table$.hide();
|
2015-05-04 19:14:29 +00:00
|
|
|
$(this).hide();
|
|
|
|
$(this).prevAll('input:first').show();
|
2018-01-15 17:54:36 +00:00
|
|
|
});
|
2015-05-04 19:14:29 +00:00
|
|
|
$('.shows-more').click(function(){
|
2018-01-27 19:31:34 +00:00
|
|
|
var table$ = $(this).nextAll('table:first');
|
|
|
|
table$ = table$.length ? table$ : $(this).parent().nextAll('table:first');
|
|
|
|
table$.show();
|
2015-05-04 19:14:29 +00:00
|
|
|
$(this).hide();
|
|
|
|
$(this).nextAll('input:first').show();
|
2018-01-15 17:54:36 +00:00
|
|
|
});
|
|
|
|
});
|