function ff_showaction(element, action)
{
    if(typeof bfUseErrorAlerts == 'undefined'){
        swal('Action '+action+' performed by element '+element.id);
    } else {
        alert('Action '+action+' performed by element '+element.id);
    }
   
}