DataObjects/core.sql
[Pman.Core] / Pman.Download.js
index b093c9b..d892200 100644 (file)
@@ -86,15 +86,15 @@ Pman.Download = function(cfg)
         target : this.newWindow ? '_new' : this.csvFrame.id,
         enctype : 'multipart/form-data'
     });
-    
-    if(this.doctype == 'pdf'){
-        b.createChild({
-            tag: 'embed',
-            src : this.url,
-            pluginspage : 'http://www.adobe.com/products/acrobat/readstep2.html',
-            alt: this.doctype
-        });
-    }
+//    
+//    if(this.doctype == 'pdf'){
+//        this.pdfEmbed = b.createChild({
+//            tag: 'embed',
+//            src : this.url,
+//            pluginspage : 'http://www.adobe.com/products/acrobat/readstep2.html',
+//            alt: this.doctype
+//        });
+//    }
  
  
     for(var i in this.params) {
@@ -270,12 +270,6 @@ Roo.apply(Pman.Download.prototype, {
         // do it as a post, as args can get long..
         this.params._get = 1;
         this.method = 'POST';
-        
-    },
-    
-    createPdfEmbed : function()
-    {
-        
     }
      
 });