o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1381401971.0581288: @value"c {I" class:EFI"ProcessedAsset;FI"logical_path;FI"(locomotive/views/pages/edit_view.js;TI" pathname;FI"ƒ/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-10-10T12:39:17+02:00;FI" length;Fi›I" digest;F"%c9bc2f690363cb7f78f5da703e1f40c6I" source;FI"›(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) { var fullpath; form.trigger('ajax:complete'); model._normalize(); if (model.get('template_changed') === true) { _this.reset_editable_elements(); } else { _this.refresh_editable_elements(); } fullpath = _this.model.get('localized_fullpaths')[window.content_locale]; return _this.$('#local-actions-bar > a.show').attr('href', "/" + 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"%b642cda05cf75cfa9edf0738f0766175I"required_paths;F[I"ƒ/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee;TI"dependency_paths;F[{I" path;FI"ƒ/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.2.3/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee;TI" mtime;FI"2013-10-10T12:39:17+02:00;FI" digest;F"%fd0d72a593b954c82378477cede8d468I" _version;F"%ffd318ca8b794f42f5029101c2cf5d91