aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorkevin <kevin@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-06-04 16:19:49 +0000
committerkevin <kevin@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-06-04 16:19:49 +0000
commitd9262abcc2e645fe3c4ce34d860f526e0eb8d76d (patch)
tree4494f961c67ad29d92f3a4a4f3b6ca552a75c79c /views/default
parente56e8dfe2b4182ef59ce48bc80f4aa566dc3a4a8 (diff)
downloadelgg-d9262abcc2e645fe3c4ce34d860f526e0eb8d76d.tar.gz
elgg-d9262abcc2e645fe3c4ce34d860f526e0eb8d76d.tar.bz2
Changed a variable name that IE did not like.
git-svn-id: https://code.elgg.org/elgg/trunk@3319 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/js/upload_js.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/js/upload_js.php b/views/default/js/upload_js.php
index 389228e11..3647c0a95 100644
--- a/views/default/js/upload_js.php
+++ b/views/default/js/upload_js.php
@@ -1,5 +1,5 @@
<script>
-number_of_files = 1;
+var number_of_files = 1;
// wait for the DOM to be loaded
$(document).ready(function() {
@@ -16,7 +16,7 @@ $(document).ready(function() {
});
});
-function file_generate_bit(bit_label,prefix,class,field_type,field_size) {
+function file_generate_bit(bit_label,prefix,classname,field_type,field_size) {
bit = document.createElement('p');
label = document.createElement('label');
textnode = document.createTextNode(bit_label);
@@ -25,7 +25,7 @@ function file_generate_bit(bit_label,prefix,class,field_type,field_size) {
label.appendChild(el);
el = document.createElement('input');
el.type = field_type;
- el.className = class;
+ el.className = classname;
if (field_size > 0) {
el.size = field_size;
}