{:uriI"file:///Users/tvd/.gem/ruby/3.2.2/bundler/gems/solidus-142098fbd7e6/backend/app/assets/javascripts/spree/backend/views/payment/payment_row.js?type=application/javascript&pipeline=self&id=64ff07c9a6af59338a4867bc1d5d1125c954042d34d1128e0e051cc98683a633:ET:load_pathI"`/Users/tvd/.gem/ruby/3.2.2/bundler/gems/solidus-142098fbd7e6/backend/app/assets/javascripts;T: filenameI"/Users/tvd/.gem/ruby/3.2.2/bundler/gems/solidus-142098fbd7e6/backend/app/assets/javascripts/spree/backend/views/payment/payment_row.js;T: nameI",spree/backend/views/payment/payment_row;T:logical_pathI"4spree/backend/views/payment/payment_row.self.js;T:content_typeI"application/javascript;T: sourceI"{Spree.Views.Payment.PaymentRow = Backbone.View.extend({ events: { "click .js-edit": "onEdit", "click .js-save": "onSave", "submit form": "onSave", "click .js-cancel": "onCancel" }, onEdit: function(e) { e.preventDefault(); this.$el.addClass("editing"); }, onCancel: function(e) { e.preventDefault(); this.$el.removeClass("editing"); }, onSave: function(e) { var view = this; var amount = this.$(".js-edit-amount").val(); var options = { success: function(model, response, options) { view.$(".js-display-amount").text(model.attributes.display_amount); view.$el.removeClass("editing"); }, error: function(model, response, options) { show_flash('error', response.responseJSON.error); } }; e.preventDefault(); this.model.save({ amount: amount }, options); } }); ;T: metadata{:dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"file-digest:///Users/tvd/.gem/ruby/3.2.2/bundler/gems/solidus-142098fbd7e6/backend/app/assets/javascripts/spree/backend/views/payment/payment_row.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: to_loado;;}F: to_linko;;}F:map{ I" version;TiI" file;TI"/spree/backend/views/payment/payment_row.js;TI" mappings;TI"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;TI" sources;T[I"payment_row.source.js;TI" names;T[I"x_sprockets_linecount;Ti): charsetI" utf-8;F: digest"%L"c?A5O:>5+:DϢ: lengthi{:environment_versionI"1.0;T:dependencies_digest"%e F-0\Sj^"Z-ԀwkJ:idI"E64ff07c9a6af59338a4867bc1d5d1125c954042d34d1128e0e051cc98683a633;F