Skip to content

Commit

Permalink
Dont show custom values tab
Browse files Browse the repository at this point in the history
  • Loading branch information
jpic committed Jul 17, 2012
1 parent 0c338e5 commit 1b9b1b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin_hack/static/admin_hack/change_form_tabs.js
Expand Up @@ -24,6 +24,9 @@ $(document).ready(function() {
var cls = slug + '_tab';
if (error) cls = cls + ' error';

if (name == 'Custom values')
return

if (!name)
$(this).addClass('always_active');
else
Expand Down

0 comments on commit 1b9b1b7

Please sign in to comment.