{I" class:ETI"BundledAsset;FI"logical_path;TI"prosperity/dashboards.js;FI" pathname;TI"h/Users/simon/Documents/rainforest/prosperity/app/assets/javascripts/prosperity/dashboards.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;Tl+¶¬åRI" 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