Author: kwright
Date: Mon Jan 28 13:19:45 2013
New Revision: 1439396
URL: http://svn.apache.org/viewvc?rev=1439396&view=rev
Log:
Debug UI for CONNECTORS-552.
Modified:
manifoldcf/trunk/framework/crawler-ui/src/main/webapp/editjob.jsp
manifoldcf/trunk/framework/crawler-ui/src/main/webapp/execute.jsp
Modified: manifoldcf/trunk/framework/crawler-ui/src/main/webapp/editjob.jsp
URL:
http://svn.apache.org/viewvc/manifoldcf/trunk/framework/crawler-ui/src/main/webapp/editjob.jsp?rev=1439396&r1=1439395&r2=1439396&view=diff
==============================================================================
--- manifoldcf/trunk/framework/crawler-ui/src/main/webapp/editjob.jsp (original)
+++ manifoldcf/trunk/framework/crawler-ui/src/main/webapp/editjob.jsp Mon Jan
28 13:19:45 2013
@@ -292,7 +292,7 @@
postFormSetAnchor("forcedmetadata_tag");
}
- function DeleteForcedMetadata(k)
+ function DeleteForcedMetadata(n)
{
eval("document.editjob.forcedmetadata_"+n+"_op.value =
'Delete'");
if (n == 0)
@@ -553,8 +553,6 @@
<tr>
<td class="description"
colspan="1"><nobr><%=Messages.getBodyString(pageContext.getRequest().getLocale(),"editjob.ForcedMetadataColon")%></nobr></td>
<td class="boxcell" colspan="3">
- <input type="hidden"
name="forcedmetadata_op" value="Continue"/>
- <input type="hidden"
name="forcedmetadata_number" value=""/>
<table class="formtable">
<tr class="formheaderrow">
<td
class="formcolumnheader"></td>
Modified: manifoldcf/trunk/framework/crawler-ui/src/main/webapp/execute.jsp
URL:
http://svn.apache.org/viewvc/manifoldcf/trunk/framework/crawler-ui/src/main/webapp/execute.jsp?rev=1439396&r1=1439395&r2=1439396&view=diff
==============================================================================
--- manifoldcf/trunk/framework/crawler-ui/src/main/webapp/execute.jsp (original)
+++ manifoldcf/trunk/framework/crawler-ui/src/main/webapp/execute.jsp Mon Jan
28 13:19:45 2013
@@ -676,7 +676,7 @@
{
String prefix =
"forcedmetadata_"+k;
x =
variableContext.getParameter(prefix+"_op");
- if (x != null &&
!x.equals("Delete"))
+ if (x == null ||
!x.equals("Delete"))
{
String
paramName = variableContext.getParameter(prefix+"_name");
String
paramValue = variableContext.getParameter(prefix+"_value");