Revert "Add to storage->upload volume dialog"

This reverts commit 8641de85d2da4d755cfe966ea5c6c3aaf4abc2b5.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/aa9a7f50
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/aa9a7f50
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/aa9a7f50

Branch: refs/heads/volume-upload
Commit: aa9a7f50b738a3e4acdcdcf2cf62c21e375242b9
Parents: f10709c
Author: Jessica Wang <jessicaw...@apache.org>
Authored: Mon Jan 19 15:56:48 2015 -0800
Committer: Jessica Wang <jessicaw...@apache.org>
Committed: Mon Jan 19 15:56:48 2015 -0800

----------------------------------------------------------------------
 ui/scripts/storage.js | 20 --------------------
 1 file changed, 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa9a7f50/ui/scripts/storage.js
----------------------------------------------------------------------
diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js
index 663fb9f..6585e1a 100644
--- a/ui/scripts/storage.js
+++ b/ui/scripts/storage.js
@@ -265,22 +265,6 @@
                                 }
                             },
                             createForm: {
-                                fileUpload: {
-                                    getURL: function(args) {
-                                        args.response.success({
-                                            url: 
'http://10.223.183.3/test-upload.php'
-                                        });
-                                    },
-                                    postUpload: function(args) {
-                                        // Called when upload is done to do 
-                                        // verification checks;
-                                        // i.e., poll the server to verify 
successful upload
-                                        //
-                                        // success() will close the dialog and 
call standard action
-                                        // error() will keep dialog open if 
user wants to re-submit
-                                        args.response.success();
-                                    }
-                                },
                                 title: 'label.upload.volume',
                                 fields: {
                                     name: {
@@ -290,10 +274,6 @@
                                         },
                                         docID: 'helpUploadVolumeName'
                                     },
-                                    templateFileUpload: {
-                                        label: 'Select a file',
-                                        isFileUpload: true
-                                    },
                                     availabilityZone: {
                                         label: 'label.availability.zone',
                                         docID: 'helpUploadVolumeZone',

Reply via email to