Sha256: 1359e26e60c758181a18860296eb2f845bbfdca0cb0797bde6d8beeb85b14a3a
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
{I" class:ETI"BundledAsset; 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"required_assets_digest; TI"%901cd0764deb4150881d5bbc77b28cff; FI" _version; TI"%361c512b9086418778df946c0d278f91; F
Version data entries
2 entries across 1 versions & 1 rubygems