/usr/share/horde/turba/js/contact_tabs.js is in php-horde-turba 4.1.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | var contactTabs = null;
function ShowTab(tab)
{
if (contactTabs == null) {
contactTabs = $('page').select('.horde-buttonbar')[0].down();
}
contactTabs.select('li').each(function(item) {
if (item.id == 'tab' + tab) {
item.addClassName('horde-active');
$(item.id.substring(3)).show();
} else {
item.removeClassName('horde-active');
$(item.id.substring(3)).hide();
}
});
return false;
}
|