From 560950799129d00512d6e626b7278cf6715a87c7 Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Mon, 28 Apr 2014 10:45:13 +0900 Subject: [PATCH] (refs #13)Fix link target of cancel button --- src/main/twirl/repo/editor.scala.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/twirl/repo/editor.scala.html b/src/main/twirl/repo/editor.scala.html index f78b9beb6..b303ef5d0 100644 --- a/src/main/twirl/repo/editor.scala.html +++ b/src/main/twirl/repo/editor.scala.html @@ -49,7 +49,11 @@
- Cancel + @if(fileName.isEmpty){ + Cancel + } else { + Cancel + }