Skip to content

Commit

Permalink
[-] BO : Fix bug #PSCSX-2658, combinations edition
Browse files Browse the repository at this point in the history
  • Loading branch information
gRoussac authored and sfroment committed Jul 8, 2014
1 parent 0987d44 commit 608a236
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/admin-products.js
Expand Up @@ -211,7 +211,7 @@ product_tabs['Customization'] = new function(){
product_tabs['Combinations'] = new function(){
var self = this;
this.bindEdit = function(){
$('table[id=combinations-list]').delegate('a.edit', 'click', function(e){
$('table.configuration').delegate('a.edit', 'click', function(e){
e.preventDefault();
e.stopPropagation();
editProductAttribute(this.href, $(this).closest('tr'));
Expand Down Expand Up @@ -320,7 +320,7 @@ product_tabs['Combinations'] = new function(){
};

this.bindDefault = function(){
$('table[id=combinations-list]').delegate('a.default', 'click', function(e){
$('table.configuration').delegate('a.default', 'click', function(e){
e.preventDefault();
self.defaultProductAttribute(this.href, this);
});
Expand Down Expand Up @@ -351,7 +351,7 @@ product_tabs['Combinations'] = new function(){
};

this.bindDelete = function() {
$('table[id=combinations-list]').delegate('a.delete', 'click', function(e){
$('table.configuration').delegate('a.delete', 'click', function(e){
e.preventDefault();
self.deleteProductAttribute(this.href, $(this).closest('tr'));
});
Expand Down

0 comments on commit 608a236

Please sign in to comment.