Admintab onclick fix

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Refs tickets  | #1149
| License       | MIT