You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jb...@apache.org on 2009/03/20 18:27:25 UTC

svn commit: r756667 - /geronimo/server/branches/2.1/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/logmanager/view.jsp

Author: jbohn
Date: Fri Mar 20 17:27:25 2009
New Revision: 756667

URL: http://svn.apache.org/viewvc?rev=756667&view=rev
Log:
merge 756643 from branches/2.1.4 - GERONIMO-4595 - fix javascript error in LogManager - modified version of patch from Shawn Jiang - thanks

Modified:
    geronimo/server/branches/2.1/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/logmanager/view.jsp

Modified: geronimo/server/branches/2.1/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/logmanager/view.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/logmanager/view.jsp?rev=756667&r1=756666&r2=756667&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/logmanager/view.jsp (original)
+++ geronimo/server/branches/2.1/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/logmanager/view.jsp Fri Mar 20 17:27:25 2009
@@ -33,19 +33,12 @@
 }
 function <portlet:namespace/>validateForm(){
     with(document.<portlet:namespace/>update){
-        if(trim(logFile.value).length == ""){
-            alert("Please input the log file name.");
-            logFile.value="";
-            logFile.focus();
+        if(trim(configFile.value).length == ""){
+            alert("Please input the configuration file name.");
+            configFile.value="";
+            configFile.focus();
             return false;
         }
-        if(trim(layoutPattern.value) == ""){
-            alert("Please input layout pattern.");
-            layoutPattern.value="";
-            layoutPattern.focus();
-            return false;
-        }
-        
     }
     return true;
 }