aboutsummaryrefslogtreecommitdiff
path: root/views/default/js/upload_js.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/js/upload_js.php')
-rw-r--r--views/default/js/upload_js.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/js/upload_js.php b/views/default/js/upload_js.php
index cdd011729..83530d67a 100644
--- a/views/default/js/upload_js.php
+++ b/views/default/js/upload_js.php
@@ -45,7 +45,7 @@ function file_addtoform() {
var o,el;
o = document.getElementById('option_container');
title_label = "<?php echo elgg_echo("title"); ?>";
- bit = file_generate_bit(title_label,'title_','input-text','text',0);
+ bit = file_generate_bit(title_label,'title_','input_text','text',0);
o.appendChild(bit);
file_label = "<?php echo elgg_echo("file:file"); ?>";
bit = file_generate_bit(file_label,'upload_','input-file','file',30);