Index: dragndrop_uploads.js
===================================================================
--- dragndrop_uploads.js	(revision 141)
+++ dragndrop_uploads.js	(working copy)
@@ -1,4 +1,3 @@
-
 (function($) {
   $(document).ready(function() {
     _init = function() {
@@ -97,7 +96,7 @@
       switch (Drupal.wysiwyg.instances[field].editor) {
         // CKeditor support.
         case 'ckeditor':
-          if (CKEDITOR.instances[field].container !== undefined) {
+          if (CKEDITOR.instances[field].container !== undefined && CKEDITOR.instances[field].document !== undefined ) {             
             dropzone.iframe = $(CKEDITOR.instances[field].container.$).find('iframe');
             dropzone.selector = CKEDITOR.instances[field].document.$;
           }
@@ -225,8 +224,14 @@
                 data += 'Content-Type: ' + file.type + '\r\n\r\n';
                 data += e.target.result + '\r\n'; // Append binary data.
               }
+              else if ($(this).attr('name') == 'op') {
+                  data += '\r\n\r\nUpload\r\n'; 
+              }
+              else if ($(this).attr('type') == 'hidden') {
+                data += '\r\n\r\n'+$(this).val()+'\r\n'; 
+              }
               else {
-                data += '\r\n\r\n' + ($(this).attr('type') == 'checkbox' ? ($(this).attr('checked') == true ? 1 : 0) : $(this).val()) + '\r\n';
+                data += '\r\n\r\n' + ($(this).attr('type') == 'checkbox' ? ($(this).attr('checked') == true ? 1 : 0) : '\r\n') + '\r\n';
               }
               data += '--' + boundary; // Write boundary.
             });
