mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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…
x
Reference in New Issue
Block a user