cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/volume-upload to e92e46a
Date Tue, 20 Jan 2015 18:53:57 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/volume-upload 2a2d4364e -> e92e46aba


Dialog uploader -> getURL(): Pass $form


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

Branch: refs/heads/volume-upload
Commit: e92e46aba5e5ef84f50f37b9e7f9fcfd41695fb1
Parents: 2a2d436
Author: Brian Federle <brian.federle@citrix.com>
Authored: Tue Jan 20 10:53:24 2015 -0800
Committer: Brian Federle <brian.federle@citrix.com>
Committed: Tue Jan 20 10:53:24 2015 -0800

----------------------------------------------------------------------
 ui/scripts/ui/dialog.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e92e46ab/ui/scripts/ui/dialog.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/dialog.js b/ui/scripts/ui/dialog.js
index 1c7904a..66c6795 100644
--- a/ui/scripts/ui/dialog.js
+++ b/ui/scripts/ui/dialog.js
@@ -685,6 +685,7 @@
                 var uploadFiles = function() {
                     $form.prepend($('<div>').addClass('loading-overlay'));
                     args.form.fileUpload.getURL({
+                        $form: $form,
                         formData: data,
                         context: args.context,
                         response: {
@@ -708,6 +709,7 @@
                                 $frameForm.submit(function() {
                                     $uploadFrame.load(function() {
                                         args.form.fileUpload.postUpload({
+                                            $form: $form,
                                             formData: data,
                                             context: args.context,
                                             response: {


Mime
View raw message