| bug->files;?> |
- fetch('file', 'buildform', 'fileCount=2&percent=0.85');?> |
+ fetch('file', 'buildform', 'fileCount=1&percent=0.85');?> |
| comment;?> |
diff --git a/module/doc/view/create.html.php b/module/doc/view/create.html.php
index 014139a46d..9a537ae830 100644
--- a/module/doc/view/create.html.php
+++ b/module/doc/view/create.html.php
@@ -67,7 +67,7 @@
| doc->files;?> |
- fetch('file', 'buildform', 'fileCount=2');?> |
+ fetch('file', 'buildform');?> |
|
diff --git a/module/doc/view/edit.html.php b/module/doc/view/edit.html.php
index 615dd9f1a7..dac4f7aa29 100644
--- a/module/doc/view/edit.html.php
+++ b/module/doc/view/edit.html.php
@@ -75,7 +75,7 @@ $(document).ready(function()
| doc->files;?> |
- fetch('file', 'buildform', 'fileCount=2');?> |
+ fetch('file', 'buildform');?> |
|
diff --git a/module/file/control.php b/module/file/control.php
index ccd28a5c27..66cf00c54d 100644
--- a/module/file/control.php
+++ b/module/file/control.php
@@ -19,7 +19,7 @@ class file extends control
* @access public
* @return void
*/
- public function buildForm($fileCount = 2, $percent = 0.9)
+ public function buildForm($fileCount = 1, $percent = 0.9)
{
if(!file_exists($this->file->savePath))
{
diff --git a/module/story/view/change.html.php b/module/story/view/change.html.php
index c4b0ec674c..94e24ac3a1 100644
--- a/module/story/view/change.html.php
+++ b/module/story/view/change.html.php
@@ -50,7 +50,7 @@
| attatch;?> |
- fetch('file', 'buildform', 'filecount=2');?> |
+ fetch('file', 'buildform');?> |
| story->checkAffection;?> |
diff --git a/module/testcase/view/edit.html.php b/module/testcase/view/edit.html.php
index 155a45d109..0e296925f4 100644
--- a/module/testcase/view/edit.html.php
+++ b/module/testcase/view/edit.html.php
@@ -73,7 +73,7 @@