From 52cf3751b2fe74aa5029f4b605b91aa84d9cf914 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 4 Feb 2010 16:17:22 +0100 Subject: little fixes, closed #71 --- module/web/templates/default/base.html | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'module/web/templates/default/base.html') diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 720453a30..bb44433ce 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -6,14 +6,14 @@ - + - + - - - - + + + + @@ -28,6 +28,7 @@ document.addEvent("domready", function(){ add_box = new Fx.Tween($('add_box')); $('add_form').onsubmit=function() { + if ($('add_name').value == "") alert("{% trans "Please Enter a packagename." %}") $('add_form').target = 'upload_target'; //'upload_target' is the name of the iframe out(); } @@ -113,7 +114,7 @@ function AddBox() {% block head %} {% endblock %} - +
@@ -187,7 +188,7 @@ function AddBox() {% endblock %} -
+
@@ -207,8 +208,10 @@ function AddBox() +
{% include "default/window.html" %} - + + -- cgit v1.2.3