From fca43941b0df5a4cafea52b78e20fc83f4b36711 Mon Sep 17 00:00:00 2001
From: fhenry <florian.henry@open-concept.pro>
Date: Wed, 28 Nov 2012 10:57:55 +0100
Subject: [PATCH] Add cancel button (go bask -1 history)

---
 htdocs/comm/addpropal.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/htdocs/comm/addpropal.php b/htdocs/comm/addpropal.php
index 7d03960dd11..a3f7c8ef647 100644
--- a/htdocs/comm/addpropal.php
+++ b/htdocs/comm/addpropal.php
@@ -340,6 +340,7 @@ if ($action == 'create')
 	$langs->load("bills");
 	print '<center>';
 	print '<input type="submit" class="button" value="'.$langs->trans("CreateDraft").'">';
+	print '&nbsp;<input type="button" class="button" value="'.$langs->trans("Cancel").'" onClick="javascript:history.go(-1)">';
 	print '</center>';
 
 	print "</form>";
-- 
GitLab