Pman.Download.js
authorChris <chris@roojs.com>
Mon, 4 Nov 2013 07:53:07 +0000 (15:53 +0800)
committerChris <chris@roojs.com>
Mon, 4 Nov 2013 07:53:07 +0000 (15:53 +0800)
Pman.Download.js

index 8dbbcb3..b093c9b 100644 (file)
@@ -88,7 +88,12 @@ Pman.Download = function(cfg)
     });
     
     if(this.doctype == 'pdf'){
-        
+        b.createChild({
+            tag: 'embed',
+            src : this.url,
+            pluginspage : 'http://www.adobe.com/products/acrobat/readstep2.html',
+            alt: this.doctype
+        });
     }