Fix mimetype selector
authorCharles Connell <charles@connells.org>
Wed, 9 Apr 2014 15:00:20 +0000 (11:00 -0400)
committerCharles Connell <charles@connells.org>
Wed, 9 Apr 2014 15:00:20 +0000 (11:00 -0400)
karmaworld/assets/js/filepicker.js

index d39d0aee2c14e54b362c7b9a9ceea452060e6cbd..b588ffba4a489c1fe03540e8ca8d5d93e441a2b9 100644 (file)
@@ -12,7 +12,7 @@ makeFileForm = function(upFile) {
   // save the FP url to the form
   $(_form).find('.fpurl').val(upFile.url);
   // save the mimetype to the form
-  $(_form).find('mimetype').val(upFile.mimetype);
+  $(_form).find('.mimetype').val(upFile.mimetype);
 
   document.getElementById('forms_container').appendChild(_form);