[Web] Sync jobs can be created/viewed/edited by admins/domain admins; Various fixes or improvements

This commit is contained in:
andryyy
2017-07-29 10:32:17 +02:00
parent 9be3aa3334
commit 66e06a0c0c
19 changed files with 1148 additions and 763 deletions

View File

@@ -575,15 +575,19 @@ jQuery(function($){
});
$(window).load(function(){
width = $("#scrollbox").width();
initial_width = $("#sidebar-admin").width();
$("#scrollbox").css("width", initial_width);
$(window).bind('scroll', function() {
if ($(window).scrollTop() > 70) {
$('#scrollbox').addClass('scrollboxFixed');
$("#scrollbox").css("width", width);
} else {
width = $("#scrollbox").width();
$('#scrollbox').removeClass('scrollboxFixed');
$("#scrollbox").removeAttr("style");
}
});
});
});
$(window).on('resize', function(){
on_resize_width = $("#sidebar-admin").width();
$("#scrollbox").removeAttr("style");
$("#scrollbox").css("width", on_resize_width);
});