Skip to content
Snippets Groups Projects
Commit c6d32226 authored by hahn's avatar hahn
Browse files

- update appmonitor client class

- simplify filter on top in the project overview
parent 06a189d4
Branches
No related tags found
No related merge requests found
......@@ -292,6 +292,20 @@ class projectlist extends base{
*/
function setDefaultView(){
if (localStorage.getItem("progress") && localStorage.getItem("progress")!=\'null\'){
$("#progressfilter").val(localStorage.getItem("progress"));
} else {
$("#progressfilter").val($("#progressfilter option:first").val());
}
if (localStorage.getItem("efilter") && localStorage.getItem("efilter")!=\'null\') {
$("#efilter").val(localStorage.getItem("efilter"));
window.setTimeout("filterTableByTyping();", 10);
}
// window.setTimeout("filterOverviewTable();", 10);
filterOverviewTable();
/*
if(localStorage.getItem("selectedPrj") && localStorage.getItem("selectedPrj")!=\'null\'){
$("#prjfilter").val(localStorage.getItem("selectedPrj"));
} else {
......@@ -304,18 +318,6 @@ class projectlist extends base{
$("#phasefilter").val($("#phasefilter option:first").val());
}
if (localStorage.getItem("progress") && localStorage.getItem("progress")!=\'null\'){
$("#progressfilter").val(localStorage.getItem("progress"));
} else {
$("#progressfilter").val($("#progressfilter option:first").val());
}
// window.setTimeout("filterOverviewTable();", 10);
filterOverviewTable();
if (localStorage.getItem("efilter") && localStorage.getItem("efilter")!=\'null\') {
$("#efilter").val(localStorage.getItem("efilter"));
window.setTimeout("filterTableByTyping();", 10);
}
if (localStorage.getItem("role") && localStorage.getItem("role")!=\'null\') {
$("#rolefilter").val(localStorage.getItem("role"));
window.setTimeout("setrole();", 20);
......@@ -325,6 +327,7 @@ class projectlist extends base{
var sMode=localStorage.getItem("mode");
if (sMode)setview(sMode);
}
*/
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment