Sha256: 3ee787db4d083f11a80ba752b9392ddf0def4dfdd84be2471aadfa2f5b3d6f46

Contents?: true

Size: 1.71 KB

Versions: 1

Compression:

Stored size: 1.71 KB

Contents

{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;Tl+Þ$aRI"length;TiÝI"digest;TI"%7c02b75a59e6a72d05f2892d949cb54c;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').text(current_url);
    $('#help_request_current_url').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"%ec8cd878fa2c8c4e6eac5876bc275347;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-10-18T08:09:02-04:00;TI"digest;TI"%7c02b75a59e6a72d05f2892d949cb54c;FI"
_version;TI"%2cf3622cbba861b85d33ffabfa420c13;F

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
curate-0.5.2 spec/internal/tmp/cache/assets/development/sprockets/cdf8872264f5f8dd811cdf810f6875a7