Skip to content

Commit

Permalink
Optimize for jQuery v1.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldpdl committed Nov 23, 2011
1 parent fc6450c commit 152a1ee
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -257,7 +257,7 @@ function openEditVariantForm(id, isNew) {
$('#vstatus').buttonset('refresh');

// Replace onclick handler to pass the product variant id as a function parameter
$('#variantSubmitButtonsEdit button[data-vButtonType="henrysBucket"]').unbind('click').click(function() {
$('#variantSubmitButtonsEdit button[data-vButtonType="henrysBucket"]').off('click').click(function() {
processVariantForm(isNew, id);
});

Expand All @@ -278,7 +278,7 @@ function closeVariantForm() {
$('#variants_weight_class option[value="' + defaultWeightClass + '"]').attr('selected', true);
$('input[name="variants_status"]').removeAttr('checked');
$('#vstatus').buttonset('refresh');
$('#variants_default').removeAttr('checked').removeAttr('disabled');
$('#variants_default').removeAttr('checked disabled');

$('#variantListing').show();

Expand Down

0 comments on commit 152a1ee

Please sign in to comment.