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 <[email protected]> Authored: Tue Jan 20 10:53:24 2015 -0800 Committer: Brian Federle <[email protected]> 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: {
