Sha256: b8a50d18470ae29cd5a7931691a4dfe30c414f310e9fe0a1953158008c17d76d

Contents?: true

Size: 499 Bytes

Versions: 66

Compression:

Stored size: 499 Bytes

Contents

$j(function() {                                                                    
  var original_gtwy_type = $j('#gtwy-type').attr('value');
  $j('div#gateway-settings-warning').hide();
  $j('#gtwy-type').change(function() { 
    if ($j('#gtwy-type').attr('value') == original_gtwy_type) {
      $j('div.gateway-settings').show();
      $j('div#gateway-settings-warning').hide();
    } else {
      $j('div.gateway-settings').hide();
      $j('div#gateway-settings-warning').show();
    }
  });
})

Version data entries

66 entries across 40 versions & 9 rubygems

Version Path
spree-0.11.4 vendor/extensions/theme_default/public/javascripts/gateway.js
spree-0.11.4 vendor/extensions/payment_gateway/public/javascripts/gateway.js
apispree_core-0.0.0 public/javascripts/gateway.js
My-Commerce_core-1.1.0 public/javascripts/gateway.js
My-Commerce_core-1.0.0 public/javascripts/gateway.js
MyCommerceapi-1.0.0 dash/spec/test_app/public/javascripts/gateway.js
MyCommerceapi-1.0.0 promo/spec/test_app/public/javascripts/gateway.js
MyCommerceapi-1.0.0 auth/spec/test_app/public/javascripts/gateway.js
MyCommerceapi-1.0.0 core/spec/test_app/public/javascripts/gateway.js
MyCommerceapi-1.0.0 core/public/javascripts/gateway.js
MyCommerceapi-1.0.0 sandbox/public/javascripts/gateway.js
MyCommerceapi-1.0.0 api/spec/test_app/public/javascripts/gateway.js
MyCommerce-0.0.3 promo/spec/test_app/public/javascripts/gateway.js
MyCommerce-0.0.3 auth/spec/test_app/public/javascripts/gateway.js
MyCommerce-0.0.3 api/spec/test_app/public/javascripts/gateway.js
MyCommerce-0.0.3 sandbox/public/javascripts/gateway.js
MyCommerce-0.0.3 core/public/javascripts/gateway.js
MyCommerce-0.0.3 core/spec/test_app/public/javascripts/gateway.js
MyCommerce-0.0.3 dash/spec/test_app/public/javascripts/gateway.js
rfcommerce_sandbox-0.0.3 public/javascripts/gateway.js