From 8b7aedad2bf8b8b9eb453a43206db114d9128dcd Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 25 Mar 2015 15:47:31 -0700 Subject: Prevent doubling AJAX request with each commit visit via Turbolink --- CHANGELOG | 1 + app/views/projects/commit/_commit_box.html.haml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 9aa6e3530b4..144ada47ec1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -40,6 +40,7 @@ v 7.10.0 (unreleased) - Make Git-over-SSH errors more descriptive. - Send EmailsOnPush email when branch or tag is created or deleted. - Faster merge request processing for large repository + - Prevent doubling AJAX request with each commit visit via Turbolink v 7.9.0 - Add HipChat integration documentation (Stan Hu) diff --git a/app/views/projects/commit/_commit_box.html.haml b/app/views/projects/commit/_commit_box.html.haml index 7409f702c5d..2579f2cac92 100644 --- a/app/views/projects/commit/_commit_box.html.haml +++ b/app/views/projects/commit/_commit_box.html.haml @@ -48,5 +48,4 @@ = preserve(gfm(escape_once(@commit.description))) :coffeescript - $ -> - $(".commit-info-row.branches").load("#{branches_namespace_project_commit_path(@project.namespace, @project, @commit.id)}") + $(".commit-info-row.branches").load("#{branches_namespace_project_commit_path(@project.namespace, @project, @commit.id)}") -- cgit v1.2.1