diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-06-20 22:29:55 +0400 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-06-20 22:29:55 +0400 |
commit | 1a05f2f7c9809aa80985c76e8a6d4f662647f150 (patch) | |
tree | eaf8ad888c36fbdfa5b13bdcf2e7cbdf2a296591 /app/assets/javascripts/application.js | |
parent | 6507c1085e02d9e59020c38ceff3308374dd1df0 (diff) |
Get rid of deprecated link_to_function
Diffstat (limited to 'app/assets/javascripts/application.js')
-rw-r--r-- | app/assets/javascripts/application.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 0af0b11a931..61d6539a559 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -53,6 +53,14 @@ $(document).ready(function(){ e.preventDefault(); } }); + + /** + * Commit show suppressed diff + * + */ + $(".supp_diff_link").bind("click", function() { + showDiff(this); + }) }); function focusSearch() { |