Index: branches/unlabeled/unlabeled-1.27.2/kernel/admin_templates/incs/catalog.js =================================================================== diff -u -r5751 -r5858 --- branches/unlabeled/unlabeled-1.27.2/kernel/admin_templates/incs/catalog.js (.../catalog.js) (revision 5751) +++ branches/unlabeled/unlabeled-1.27.2/kernel/admin_templates/incs/catalog.js (.../catalog.js) (revision 5858) @@ -258,6 +258,16 @@ } Catalog.prototype.ShowDependentButtons = function($prefix) { + /*var $tab_id = this.queryTabRegistry('prefix', $prefix, 'tab_id') + if (!document.getElementById($tab_id + '_form')) { + // tab form not found => no permission to view -> no permission to do any actions + alert('no form: ['+$tab_id + '_form'+']'); + return ; + } + else { + alert('has form: ['+$tab_id + '_form'+']'); + }*/ + var $dep_buttons = this.queryTabRegistry('prefix', $prefix, 'dep_buttons'); var $i = 0; while ($i < $dep_buttons.length) {