From 4b7fab382d55892a540af7b5cfebdf059dcf6d4d Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Mon, 22 Dec 2014 13:33:56 +0100 Subject: [PATCH] Invalidate browser cache for issues app --- server/sonar-web/Gruntfile.coffee | 4 ++-- .../src/main/coffee/issues/{app.coffee => app-new.coffee} | 0 server/sonar-web/src/main/js/tests/e2e/views/issues.jade | 2 +- .../src/main/webapp/WEB-INF/app/views/issues/search.html.erb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename server/sonar-web/src/main/coffee/issues/{app.coffee => app-new.coffee} (100%) diff --git a/server/sonar-web/Gruntfile.coffee b/server/sonar-web/Gruntfile.coffee index c1940e2533b..5a58fcb119e 100644 --- a/server/sonar-web/Gruntfile.coffee +++ b/server/sonar-web/Gruntfile.coffee @@ -173,8 +173,8 @@ module.exports = (grunt) -> out: '<%= pkg.assets %>build/js/coding-rules/app.js' issues: options: - name: 'issues/app' - out: '<%= pkg.assets %>build/js/issues/app.js' + name: 'issues/app-new' + out: '<%= pkg.assets %>build/js/issues/app-new.js' measures: options: name: 'measures/app' diff --git a/server/sonar-web/src/main/coffee/issues/app.coffee b/server/sonar-web/src/main/coffee/issues/app-new.coffee similarity index 100% rename from server/sonar-web/src/main/coffee/issues/app.coffee rename to server/sonar-web/src/main/coffee/issues/app-new.coffee diff --git a/server/sonar-web/src/main/js/tests/e2e/views/issues.jade b/server/sonar-web/src/main/js/tests/e2e/views/issues.jade index b16896ffe53..6279abc6c7e 100644 --- a/server/sonar-web/src/main/js/tests/e2e/views/issues.jade +++ b/server/sonar-web/src/main/js/tests/e2e/views/issues.jade @@ -1,7 +1,7 @@ extends ./layouts/main block header - script(data-main='/js/issues/app', src='../js/require.js') + script(data-main='/js/issues/app-new', src='../js/require.js') block body #content diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/issues/search.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/issues/search.html.erb index 3643c208073..7be788685c1 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/issues/search.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/issues/search.html.erb @@ -1,5 +1,5 @@ <% content_for :script do %> - + <% end %>
-- 2.39.5