Sha256: 7c28f579ea7c1b0442b1ec07b51d5c532299fe9235f70be7b1953d87193ef5a5

Contents?: true

Size: 1.85 KB

Versions: 1

Compression:

Stored size: 1.85 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1366207004.783669:@value"û{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"help_modal.js;FI"
pathname;TI"M/Users/jfriesen/Repositories/curate/app/assets/javascripts/help_modal.js;FI"content_type;TI"application/javascript;TI"
mtime;TI"2013-04-12T10:58:54-04:00;TI"length;TiéI"digest;TI"%c0454dd26f534e58d40f3e6ddebdf5b5;FI"source;TI"é$(function(){
  var $window = $(window),
      $modal = $('#ajax-modal'),
      resolution = screen.width + 'x' + screen.height,
      viewport = $window.width() + 'x' + $window.height(),
      current_url = document.location.href;

  function populateHelpForm(){
    // Removing the "NOT" portion
    $('#help-js strong').remove();
    $('#help_request_javascript_enabled').val(1);

    $('#help-resolution').text(resolution);
    $('#help_request_resolution').val(resolution);

    $('#help-viewport').text(viewport);
    $('#help_request_view_port').val(viewport);

    $('#help-url.unset').text(current_url);
    $('#help_request_current_url.unset').val(current_url);
  }
  populateHelpForm();

  $('.request-help').on('click', function(event){
    event.preventDefault();

    $('body').modalmanager('loading');

    setTimeout(function(){
      $modal.load('/help_requests/new #new_help_request', function(){
        $modal.modal();
        populateHelpForm();
      });
    }, 1000);
  });
});
;TI"dependency_digest;TI"%ee55422a29432974b443e3dbf131b259;FI"required_paths;T[I"M/Users/jfriesen/Repositories/curate/app/assets/javascripts/help_modal.js;FI"dependency_paths;T[{I"	path;TI"M/Users/jfriesen/Repositories/curate/app/assets/javascripts/help_modal.js;FI"
mtime;TI"2013-04-12T10:58:54-04:00;TI"digest;TI"%c0454dd26f534e58d40f3e6ddebdf5b5;FI"
_version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
curate-0.1.2 spec/dummy/tmp/cache/assets/C9E/A80/sprockets%2F8401fd13fe82bb392806930ed02005e1