nightly upload fix

This commit is contained in:
Jindra Petřík
2015-04-06 09:58:36 +02:00
parent 73f3bb10cc
commit 7a8541d8d4
3 changed files with 10 additions and 3 deletions

View File

@@ -367,10 +367,10 @@
<!-- Prepare upload dialog to not show (no changes in nightly) -->
<target name="-upload-check-nightly" if="NIGHTLY">
<property name="upload.form.new.type" value="field" />
<property name="upload.form.new.type" value="emptyfield" />
<property name="upload.form.new.value" value="" />
<property name="upload.form.fixed.type" value="field" />
<property name="upload.form.fixed.type" value="emptyfield" />
<property name="upload.form.fixed.value" value="" />
</target>

View File

@@ -183,7 +183,14 @@ public class Uploader {
values.add(args[i+2]);
labels.add("");
i+=2;
}
}
if(args[i].equals("-emptyfield")){
types.add("field");
names.add(args[i+1]);
values.add("");
labels.add("");
i+=2;
}
if(args[i].equals("-textarea")){
types.add("textarea");
names.add(args[i+1]);

Binary file not shown.