[Join-cvs] join1/src/web/jsp quartzcrons.jsp,1.1,1.2
Brought to you by:
lbroudoux
|
From: Laurent B. <lbr...@us...> - 2008-07-25 00:11:58
|
Update of /cvsroot/join/join1/src/web/jsp In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv14235/jsp Modified Files: quartzcrons.jsp Log Message: Fix for issue #2026206 : change JS function declaration Index: quartzcrons.jsp =================================================================== RCS file: /cvsroot/join/join1/src/web/jsp/quartzcrons.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** quartzcrons.jsp 30 Jul 2006 19:16:26 -0000 1.1 --- quartzcrons.jsp 25 Jul 2008 00:11:55 -0000 1.2 *************** *** 10,14 **** <script language="Javascript" type="text/javascript"> // Add the enterred property and its value into the user text area ! function addProperty(name, value){ // Check if the property name is not null or empty if (name.value==null || name.value==""){ --- 10,14 ---- <script language="Javascript" type="text/javascript"> // Add the enterred property and its value into the user text area ! addProperty = function(name, value){ // Check if the property name is not null or empty if (name.value==null || name.value==""){ *************** *** 22,26 **** value.value=""; } ! function changeJobImpl(){ if (document.getElementById("jobImpl")){ var index = document.forms['quartzCronForm'].elements['jobImpl'].selectedIndex; --- 22,26 ---- value.value=""; } ! changeJobImpl = function(){ if (document.getElementById("jobImpl")){ var index = document.forms['quartzCronForm'].elements['jobImpl'].selectedIndex; *************** *** 62,66 **** <% boolean update = false; %> <div class="h4"> ! <h4><bean:message bundle="gui" key="title.cron.edit"/></h4> <logic:present name="duplicate" scope="request"> <span class="warn"> --- 62,69 ---- <% boolean update = false; %> <div class="h4"> ! <h4> ! <logic:present name="quartzCron" scope="session"><bean:message bundle="gui" key="title.cron.update"/><% update = true; %></logic:present> ! <logic:notPresent name="quartzCron" scope="session"><bean:message bundle="gui" key="title.cron.creation"/></logic:notPresent> ! </h4> <logic:present name="duplicate" scope="request"> <span class="warn"> *************** *** 73,77 **** <tr> <td width="100"> ! <logic:present name="quartzCron" scope="session">"<bean:write name="quartzCron" scope="session" property="name"/>"<% update = true; %></logic:present> <logic:notPresent name="quartzCron" scope="session"><bean:message bundle="gui" key="title.cron.new"/></logic:notPresent> </td> --- 76,80 ---- <tr> <td width="100"> ! <logic:present name="quartzCron" scope="session">"<bean:write name="quartzCron" scope="session" property="name"/>"</logic:present> <logic:notPresent name="quartzCron" scope="session"><bean:message bundle="gui" key="title.cron.new"/></logic:notPresent> </td> *************** *** 122,126 **** <tr> <td colspan="2" align="center"> ! <html:textarea property="userProperties" cols="40" rows="8"/> </td> </tr> --- 125,129 ---- <tr> <td colspan="2" align="center"> ! <html:textarea property="userProperties" cols="40" rows="8" readonly="true"/> </td> </tr> |