o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1384182740.9422789: @value"™ {I" class:ETI"ProcessedAsset;FI"logical_path;TI"(locomotive/views/pages/edit_view.js;FI" pathname;TI"˜/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;TI"2013-11-11T00:40:29+01:00;TI" length;Ti~I" digest;TI"%3c662152fd587be3eb017920e0983318;FI" source;TI"~(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 editable_elements, form, _this = this; event.stopPropagation() & event.preventDefault(); this.trigger_change_event_on_focused_inputs(); form = $(event.target).trigger('ajax:beforeSend'); this.clear_errors(); editable_elements = _.clone(this.model.get('editable_elements')); return this.model.save({}, { success: function(model, response) { var fullpath; form.trigger('ajax:complete'); model._normalize(); if (model.get('template_changed') === true) { model.get('editable_elements').update_content_from(editable_elements); _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;TI"%06d1cac64036e0f502696587600ba862;FI"required_paths;T[I"˜/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee;FI"dependency_paths;T[{I" path;TI"˜/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/locomotive_cms-2.3.1/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee;FI" mtime;TI"2013-11-11T00:40:29+01:00;TI" digest;TI"%af6147dd0f0cc9ed0764382d90bdde3b;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F