Skip to content

Commit

Permalink
javascript syntax error (reserved word)
Browse files Browse the repository at this point in the history
  • Loading branch information
molily committed Nov 26, 2009
1 parent 64d9a6e commit 9131ae9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions public/vrame/javascripts/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ function Upload (containerEl) {

/* Form field(s) for the new collection id (jQuery collection) */
collectionIdInput : c.find('input.collection-id'),

// Information needed for the asset controller to determine the correct styles
schema : {
class: c.attr('data-schema-class'),
id: c.attr('data-schema-id'),
attribute: c.attr('data-schema-attr'),
uid: c.attr('data-schema-uid')
}
className: c.attr('data-schema-class'),
id: c.attr('data-schema-id'),
attribute: c.attr('data-schema-attr'),
uid: c.attr('data-schema-uid')
}
};

//console.log('new Upload', o);
Expand Down Expand Up @@ -85,7 +85,7 @@ function Upload (containerEl) {
'parent_id' : o.parentId,
'parent_type' : o.parentType,
'collection_id' : o.collectionId,
'schema[class]' : o.schema.class,
'schema[class]' : o.schema.className,
'schema[id]' : o.schema.id,
'schema[attribute]' : o.schema.attribute,
'schema[uid]' : o.schema.uid
Expand Down

0 comments on commit 9131ae9

Please sign in to comment.