js/myaction.js
/* The "hide submitted actions" checkbox is just a plain image. 
This is the function called onclick so it behaves like a checkbox
and the actions are hidden.
*/
The "hide submitted actions" checkbox is just a plain image.
This is the function called onclick so it behaves like a checkbox
and the actions are hidden.
The " hide submitted actions " checkbox is just a plain image . This is the function called onclick so it behaves like a checkbox and the actions are hidden .
function toggleSubmittedActions(img) {
    var src = img.getAttribute('src');
    if (src == 'images/check1.svg')
    {
        img.src = 'images/check2.svg';
        hideSubmitted = true;
    } 
    else
    {
        img.src = 'images/check1.svg';
        hideSubmitted = false;
    }
    get_myaction_table();
}
function toggleSubmittedActions ( img ) { var src = img . getAttribute ( 'src' ) ; if ( src == 'images/check1.svg' ) { img . src = 'images/check2.svg' ; hideSubmitted = true ; } else { img . src = 'images/check1.svg' ; hideSubmitted = false ; } get_myaction_table ( ) ; }
The "hide submitted actions" checkbox is just a plain image.
The " hide submitted actions " checkbox is just a plain image .
//user just checked box, hide submitted