mirror of https://github.com/apache/cloudstack.git
Dialog uploader -> getURL(): Pass $form
This commit is contained in:
parent
2a2d4364e1
commit
e92e46aba5
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue