Sha256: f8d0e6cc94f5900b1525c9487a8c4d69835e6278b678a1fef2b20aacc7deedd5

Contents?: true

Size: 1.9 KB

Versions: 1

Compression:

Stored size: 1.9 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1364311661.955096:@value"4{I"
class:EFI"ProcessedAsset;FI"logical_path;FI" refinery/submit_continue.js;TI"
pathname;FI"™/Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/assets/javascripts/refinery/submit_continue.js.coffee.erb;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-02-04T15:34:04+01:00;FI"length;Fi2I"digest;F"%e9e9b471d7cc705bba4c9ee4d3204894I"source;FI"2(function() {

  this.init_submit_continue = function() {
    var continue_editing_button;
    $("#submit_continue_button").click(submit_and_continue);
    $("form").change(function(e) {
      return $(this).attr("data-changes-made", true);
    });
    if ((continue_editing_button = $("#continue_editing")).length > 0 && continue_editing_button.attr("rel") !== "no-prompt") {
      $("#editor_switch a").click(function(e) {
        if ($("form[data-changes-made]").length > 0) {
          if (!confirm("Any changes you've made will be lost. Are you sure you want to continue without saving?")) {
            return e.preventDefault();
          }
        }
      });
    }
    return $("input[id=page_custom_slug]").change(function() {
      return $("#submit_continue_button").remove();
    });
  };

}).call(this);
;TI"dependency_digest;F"%c37691425cfe8ad6fc30bb81d4183514I"required_paths;F[I"™/Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/assets/javascripts/refinery/submit_continue.js.coffee.erb;TI"dependency_paths;F[{I"	path;FI"™/Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/assets/javascripts/refinery/submit_continue.js.coffee.erb;TI"
mtime;FI"2013-02-04T15:34:04+01:00;FI"digest;F"%63e5b344e4fbb4852c807d41b6a69256I"
_version;F"%ffd318ca8b794f42f5029101c2cf5d91

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refinerycms-menus-2.0.6 spec/dummy/tmp/cache/assets/DEC/820/sprockets%2F0a6b744660b704abcdaef44adb8fac17