Sha256: 0a5b1d5714c060f9c69d58a91e103f90cf84fb93c542eea848ef899ce364fea2
Contents?: true
Size: 370 Bytes
Versions: 16
Compression:
Stored size: 370 Bytes
Contents
document.addEventListener("spree:load", function() { $('.stock_item_backorderable').on('click', function () { $(this).parent('form').submit() }) $('.toggle_stock_item_backorderable').on('submit', function () { $.ajax({ type: this.method, url: this.action, data: $(this).serialize(), dataType: 'json' }) return false }) })
Version data entries
16 entries across 16 versions & 1 rubygems