Sha256: f0b06fafd8214af75350b4ecb87cd64d4b1e2906e2cd143b6a323e7d77db5afc

Contents?: true

Size: 423 Bytes

Versions: 123

Compression:

Stored size: 423 Bytes

Contents

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

Version data entries

123 entries across 123 versions & 2 rubygems

Version Path
spree_backend-3.1.0.rc4 app/assets/javascripts/spree/backend/gateway.js
spree_backend-3.0.9 app/assets/javascripts/spree/backend/gateway.js
spree_backend-3.1.0.rc3 app/assets/javascripts/spree/backend/gateway.js
spree_backend-3.1.0.rc2 app/assets/javascripts/spree/backend/gateway.js
spree_backend-3.1.0.rc1 app/assets/javascripts/spree/backend/gateway.js
spree_backend-3.0.8 app/assets/javascripts/spree/backend/gateway.js
spree_backend-3.0.7 app/assets/javascripts/spree/backend/gateway.js
spree_backend-3.0.6.1 app/assets/javascripts/spree/backend/gateway.js
spree_backend-3.0.6 app/assets/javascripts/spree/backend/gateway.js
spree_backend-3.0.5 app/assets/javascripts/spree/backend/gateway.js
spree_backend-3.0.4 app/assets/javascripts/spree/backend/gateway.js
spree_backend-2.4.10 app/assets/javascripts/spree/backend/gateway.js
spree_backend-2.3.13 app/assets/javascripts/spree/backend/gateway.js
spree_backend-2.2.14 app/assets/javascripts/spree/backend/gateway.js
spree_backend-3.0.3 app/assets/javascripts/spree/backend/gateway.js
spree_backend-2.4.9 app/assets/javascripts/spree/backend/gateway.js
spree_backend-2.3.12 app/assets/javascripts/spree/backend/gateway.js
spree_backend-2.2.13 app/assets/javascripts/spree/backend/gateway.js
solidus_backend-1.0.0.pre2 app/assets/javascripts/spree/backend/gateway.js
spree_backend-3.0.2 app/assets/javascripts/spree/backend/gateway.js