Skip to content

Commit

Permalink
show_classes var didn't contain show_if_external. Closes woocommerce#…
Browse files Browse the repository at this point in the history
  • Loading branch information
coenjacobs committed Feb 28, 2013
1 parent b1d613a commit 0770515
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/js/admin/write-panels.js
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ jQuery( function($){

// Hide/Show all with rules
var hide_classes = '.hide_if_downloadable, .hide_if_virtual';
var show_classes = '.show_if_downloadable, .show_if_virtual';
var show_classes = '.show_if_downloadable, .show_if_virtual, .show_if_external';

$.each( woocommerce_writepanel_params.product_types, function( index, value ) {
hide_classes = hide_classes + ', .hide_if_' + value;
Expand Down
Loading

0 comments on commit 0770515

Please sign in to comment.