examples/bootstrap/Editor.html
authorEdward <edward@roojs.com>
Mon, 16 Feb 2015 02:19:03 +0000 (10:19 +0800)
committerEdward <edward@roojs.com>
Mon, 16 Feb 2015 02:19:03 +0000 (10:19 +0800)
examples/bootstrap/Editor.html

index b538ce7..c317cf8 100644 (file)
                         
                         Roo.example.Editor[target].on('upload', function(){
                             Roo.log('fire upload');
+                            Campaign.Dialog.EmailPreview.show(
+                                {
+                                    id : id,
+                                    method : method
+                                }, 
+                                function(){
+                                    Roo.MessageBox.alert('Notice', 'Sent');
+                                }
+                            );
                         })
                         
                     })