Sha256: c8de1b7319dcbd8115ae7601215d09cc3c53bc56d73de2fc2c5a5f06e47c1660

Contents?: true

Size: 1017 Bytes

Versions: 4

Compression:

Stored size: 1017 Bytes

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"&spree/backend/orders/edit_form.js;FI"
pathname;TI"u/usr/local/rvm/gems/ruby-2.1.2/gems/spree_backend-2.2.4/app/assets/javascripts/spree/backend/orders/edit_form.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+TI"length;TiI"digest;TI"%250c9382e9bdd9b30689842eba780d20;FI"source;TI"$(document).ready(function () {
  'use strict';

  $.each($('td.qty input'), function (i, input) {

    $(input).on('change', function () {

      var id = '#' + $(this).prop('id').replace('_quantity', '_id');

      $.post('/admin/orders/' + $('input#order_number').val() + '/line_items/' + $(id).val(), {
          _method: 'put',
          'line_item[quantity]': $(this).val()
        },

        function (resp) {
          $('#order-form-wrapper').html(resp.responseText);
        });
    });
  });
});
;TI"required_assets_digest;TI"%5047f6505cccb9d55babcd9d757352fc;FI"
_version;TI"%5ef14a844324cba3e114bd0123f88a5e;F

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
bcms_spree-0.0.2 test/dummy/tmp/cache/assets/development/sprockets/291d3cd3e6c7b23cbf38f1d51934dbaa
bcms_spree-0.0.2 test/dummy/tmp/cache/assets/development/sprockets/4c6b63f93dc0a139f416fa293727e46c
bcms_spree-0.0.1 test/dummy/tmp/cache/assets/development/sprockets/291d3cd3e6c7b23cbf38f1d51934dbaa
bcms_spree-0.0.1 test/dummy/tmp/cache/assets/development/sprockets/4c6b63f93dc0a139f416fa293727e46c