roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r544631 - in /roller/trunk/apps/weblogger/web/WEB-INF/jsps: editor/Members.jsp editor/Resources.jsp tiles/messages.jsp
Date Tue, 05 Jun 2007 20:57:53 GMT
Author: agilliland
Date: Tue Jun  5 13:57:52 2007
New Revision: 544631

URL: http://svn.apache.org/viewvc?view=rev&rev=544631
Log:
cleaning up some unused javascript.


Modified:
    roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/Members.jsp
    roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/Resources.jsp
    roller/trunk/apps/weblogger/web/WEB-INF/jsps/tiles/messages.jsp

Modified: roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/Members.jsp
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/Members.jsp?view=diff&rev=544631&r1=544630&r2=544631
==============================================================================
--- roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/Members.jsp (original)
+++ roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/Members.jsp Tue Jun  5 13:57:52 2007
@@ -83,22 +83,22 @@
 	                <s:property value="#perm.user.userName" />
                 </td>               
                 <td class="rollertable">
-                    <input type="radio" onchange="dirty()" 
+                    <input type="radio" 
                         <s:if test="#perm.permissionMask == 3">checked</s:if>
                         name='perm-<s:property value="#perm.id" />' value="3" />
                 </td>
                 <td class="rollertable">
-	                <input type="radio"  onchange="dirty()"
+	                <input type="radio" 
                         <s:if test="#perm.permissionMask == 1">checked</s:if>
                         name='perm-<s:property value="#perm.id" />' value="1" />
                 </td>                
                 <td class="rollertable">
-                    <input type="radio" onchange="dirty()"
+                    <input type="radio" 
                         <s:if test="#perm.permissionMask == 0">checked</s:if>
                         name='perm-<s:property value="#perm.id" />' value="0" />
                 </td>                
                 <td class="rollertable">
-                    <input type="radio" onchange="dirty()"
+                    <input type="radio" 
                         name='perm-<s:property value="#perm.id" />' value="-1" />
                 </td>
            </tr>

Modified: roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/Resources.jsp
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/Resources.jsp?view=diff&rev=544631&r1=544630&r2=544631
==============================================================================
--- roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/Resources.jsp (original)
+++ roller/trunk/apps/weblogger/web/WEB-INF/jsps/editor/Resources.jsp Tue Jun  5 13:57:52
2007
@@ -17,23 +17,6 @@
 --%>
 <%@ include file="/WEB-INF/jsps/taglibs-struts2.jsp" %>
 
-<script type="text/javascript">
-<!--
-function validate() {
-    valid = false;
-    for (i=0; i<5; i++) {
-       var field = document.getElementById("uploadFile" + i);
-       if (!isblank(field.value)) {
-          valid = true;
-          break;
-       }
-    }
-    if (!valid) window.alert('<s:text name="uploadFiles.noFilesSpecified" />');
-    else document.forms[0].submit();
-}
-// -->
-</script>
-
 <p class="subtitle">
     <s:text name="uploadFiles.subtitle" >
         <s:param value="actionWeblog.handle" />
@@ -197,13 +180,3 @@
     </table>
     
 </s:form>
-
-<%--
-Added by Matt Raible since the focus javascript generated by Struts uses
-a name reference and IE seems to only focus on file inputs via elements[0]?
---%>
-<script type="text/javascript">
-<!--
-    document.forms[0].elements[0].focus();
-// -->
-</script>

Modified: roller/trunk/apps/weblogger/web/WEB-INF/jsps/tiles/messages.jsp
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/web/WEB-INF/jsps/tiles/messages.jsp?view=diff&rev=544631&r1=544630&r2=544631
==============================================================================
--- roller/trunk/apps/weblogger/web/WEB-INF/jsps/tiles/messages.jsp (original)
+++ roller/trunk/apps/weblogger/web/WEB-INF/jsps/tiles/messages.jsp Tue Jun  5 13:57:52 2007
@@ -17,20 +17,6 @@
 --%>
 <%@ include file="/WEB-INF/jsps/taglibs-struts2.jsp" %>
 
-<script type="text/javascript">
-<!--
-function dirty() {
-    messages = document.getElementById("messages");
-    if (messages != null) {
-	    messages.className = "warnings";
-	    var n1 = messages.childNodes[0];
-	    var n2 = document.createTextNode("Unsaved changes");
-	    messages.replaceChild(n2, n1);
-    }
-}
--->
-</script>
-
 <%-- Success Messages --%>
 <s:if test="!actionMessages.isEmpty">
     <div id="messages" class="messages">



Mime
View raw message