o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1364984313.6168692: @value"À {I" class:EFI"ProcessedAsset;FI"logical_path;FI"(locomotive/views/pages/edit_view.js;TI" pathname;FI"o/Users/papipo/Projects/locomotive/engine/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-04-03T11:01:13+02:00;FI" length;FiFI" digest;F"%de2c377cdee64016cf4ea7f9542de5fbI" source;FI"F(function() { var _base, _ref, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; (_base = Locomotive.Views).Pages || (_base.Pages = {}); Locomotive.Views.Pages.EditView = (function(_super) { __extends(EditView, _super); function EditView() { _ref = EditView.__super__.constructor.apply(this, arguments); return _ref; } EditView.prototype.save = function(event) { var form, _this = this; event.stopPropagation() & event.preventDefault(); form = $(event.target).trigger('ajax:beforeSend'); this.clear_errors(); return this.model.save({}, { success: function(model, response) { form.trigger('ajax:complete'); model._normalize(); if (model.get('template_changed') === true) { _this.reset_editable_elements(); } else { _this.refresh_editable_elements(); } return _this.$('#local-actions-bar > a.show').attr('href', "/" + (_this.model.get('fullpath'))); }, error: function(model, xhr) { var errors; form.trigger('ajax:complete'); errors = JSON.parse(xhr.responseText); return _this.show_errors(errors); } }); }; return EditView; })(Locomotive.Views.Pages.FormView); }).call(this); ;TI"dependency_digest;F"%0bdc3224ba97c52e516f40ca553881cbI"required_paths;F[I"o/Users/papipo/Projects/locomotive/engine/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee;TI"dependency_paths;F[{I" path;FI"o/Users/papipo/Projects/locomotive/engine/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee;TI" mtime;FI"2013-04-03T11:01:13+02:00;FI" digest;F"%7a9f5091db7d90eae108c3e79cd5a04dI" _version;F"%6776f581a4329e299531e1d52aa59832