You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by je...@apache.org on 2015/01/23 00:47:30 UTC
git commit: updated refs/heads/volume-upload to c16d5a8
Repository: cloudstack
Updated Branches:
refs/heads/volume-upload 26acdd7f6 -> c16d5a822
volume-upload: UI > dialog widget > display $frameForm(the hidden form to submit file with signature/expires/metadata) in console log.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c16d5a82
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c16d5a82
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c16d5a82
Branch: refs/heads/volume-upload
Commit: c16d5a8221b22a9d68268651a2cf05ca6a9a73f5
Parents: 26acdd7
Author: Jessica Wang <je...@apache.org>
Authored: Thu Jan 22 15:45:08 2015 -0800
Committer: Jessica Wang <je...@apache.org>
Committed: Thu Jan 22 15:45:08 2015 -0800
----------------------------------------------------------------------
ui/scripts/ui/dialog.js | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c16d5a82/ui/scripts/ui/dialog.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/dialog.js b/ui/scripts/ui/dialog.js
index 7c61a30..e11843b 100644
--- a/ui/scripts/ui/dialog.js
+++ b/ui/scripts/ui/dialog.js
@@ -713,6 +713,9 @@
$hidden.appendTo($frameForm);
});
+ console.log("The following object is a hidden HTML form that will submit local file with hidden field signature/expires/metadata:");
+ console.log($frameForm);
+
$uploadFrame.css({ width: $field.outerWidth(), height: $field.height() }).show();
$frameForm.append($file);
$field.append($uploadFrame);