From 18ce4b68b78399b42d59fee8cbb556c64399eeac Mon Sep 17 00:00:00 2001 From: Stefano Mazzocchi Date: Tue, 18 May 2010 00:30:26 +0000 Subject: [PATCH] avoid showing the version number when running trunk git-svn-id: http://google-refine.googlecode.com/svn/trunk@810 7d457c2a-affb-35e4-300a-418c747d4874 --- src/main/webapp/scripts/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/scripts/index.js b/src/main/webapp/scripts/index.js index a67a4c1e4..9e134eec5 100644 --- a/src/main/webapp/scripts/index.js +++ b/src/main/webapp/scripts/index.js @@ -200,9 +200,8 @@ function onLoad() { $("#more-options").show(); }); - $("#gridworks-version").text( - "Version " + GridworksVersion.version + "-" + GridworksVersion.revision - ); + var version = (GridworksVersion.version != "$VERSION") ? "Version " + GridworksVersion.version + "-" + GridworksVersion.revision : ""; + $("#gridworks-version").text(version); var script = $('') .attr("src", "http://freebase-gridworks.googlecode.com/svn/support/releases.js")