Skip to content
Snippets Groups Projects
Commit 6027131b authored by Dave Greenberg's avatar Dave Greenberg
Browse files

Set class to disabled for contact summary tabs which have 0 items in them.

parent a487725c
No related branches found
No related tags found
No related merge requests found
......@@ -346,6 +346,12 @@ cj(document).ready(function($) {
ignoreLabel: "{/literal}{ts escape='js'}Ignore{/ts}{literal}",
saveAnywayLabel: "{/literal}{ts escape='js'}Save Anyway{/ts}{literal}",
reloadLabel: "{/literal}{ts escape='js'}Reload Page{/ts}{literal}"
});
//Enhance styling of "View Contact" tabs to indicate empty/non-empty tags
$('div#mainTabContainer ul').find('li').each(function(n){
if($(this).find('em').html()==0){
$(this).addClass("disabled");
}
});
});
</script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment