From dabda6485d970162de4247b9695a0c19206ceb12 Mon Sep 17 00:00:00 2001 From: Tássia Camões Araújo Date: Fri, 23 Sep 2011 02:31:45 +0000 Subject: [PATCH] Fixed bug with form validation (thanks Krishnamurti). --- src/web/templates/layout.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/templates/layout.html b/src/web/templates/layout.html index a412a67..cb64496 100755 --- a/src/web/templates/layout.html +++ b/src/web/templates/layout.html @@ -33,8 +33,8 @@ function validateForm() var t = $$("#pkgs_list"); var i = $$("input[name=pkgs_file]"); if (!i.val() && ( !t.val() || t.val() == "Write your list App here or send a file list this icon:")) { - alert("Choose your list app or create a list!"); - return true; + alert("Please select a local file containing the list of installed packages."); + return false; } else { if (i.val()) t.val(""); return true; -- libgit2 0.21.2