Sha256: 192b51c288f52eba1a36ead2e394b973fb0694c8b6d5e218fc5a1c88632035e1

Contents?: true

Size: 1.36 KB

Versions: 1

Compression:

Stored size: 1.36 KB

Contents

{I"
class:ETI"ProcessedAsset;FI"logical_path;TI"prosperity/dashboards.js;FI"
pathname;TI"b/Users/simon/Documents/code/prosperity/app/assets/javascripts/prosperity/dashboards.js.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+	SI"length;Ti*I"digest;TI"%26ef0a96d750510f45bd103dea153e78;FI"source;TI"*(function() {
  $(".link-graph").submit(function(e) {
    var $form, dashboard_id, graph_id, url, url_template;
    $form = $(e.target);
    dashboard_id = $form.find("#dashboard_id").val();
    graph_id = $form.find("#graph_id").val();
    url_template = $form.find("#url_template").val();
    url = url_template.replace("dashboard_id", dashboard_id);
    url = url.replace("graph_id", graph_id);
    if ($form.attr('action') !== url) {
      e.preventDefault();
      $form.attr('action', url);
      return $form.submit();
    }
  });

}).call(this);
;TI"dependency_digest;TI"%901cd0764deb4150881d5bbc77b28cff;FI"required_paths;T[I"b/Users/simon/Documents/code/prosperity/app/assets/javascripts/prosperity/dashboards.js.coffee;FI"dependency_paths;T[{I"	path;TI"b/Users/simon/Documents/code/prosperity/app/assets/javascripts/prosperity/dashboards.js.coffee;FI"
mtime;TI"2014-02-16T10:52:56-08:00;TI"digest;TI"%598cd5ec6405ca7413c625ab3b95fce0;FI"
_version;TI"%361c512b9086418778df946c0d278f91;F

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prosperity-0.0.10 spec/dummy/tmp/cache/assets/development/sprockets/956ecc56779d99ab18a5f0921fcc45f5