[seam-commits] Seam SVN: r8883 - trunk/seam-gen/view/layout.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Sep 3 11:28:03 EDT 2008
Author: pete.muir at jboss.org
Date: 2008-09-03 11:28:03 -0400 (Wed, 03 Sep 2008)
New Revision: 8883
Modified:
trunk/seam-gen/view/layout/template.xhtml
Log:
Only display error on 503
Modified: trunk/seam-gen/view/layout/template.xhtml
===================================================================
--- trunk/seam-gen/view/layout/template.xhtml 2008-09-03 12:49:13 UTC (rev 8882)
+++ trunk/seam-gen/view/layout/template.xhtml 2008-09-03 15:28:03 UTC (rev 8883)
@@ -12,9 +12,13 @@
<title>@projectName@</title>
<link href="stylesheet/theme.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
- A4J.AJAX.onError = function(req,status,message) {
+ A4J.AJAX.onError = function(req,status,message)
+ {
- alert(message);
+ if (status == 503)
+ {
+ alert(message);
+ }
};
</script>
More information about the seam-commits
mailing list