1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

bug #2641: Uploading images when no rights to access image

This commit is contained in:
Daniel Molina 2014-02-06 18:07:48 +01:00
parent 07f17f5bf4
commit 4bbfe0fd29

View File

@ -1128,6 +1128,7 @@ function initialize_create_image_dialog(dialog) {
//we this is an image upload we trigger FileUploader
//to start the upload
if (upload){
$create_image_dialog.trigger("reveal:close")
uploader._onInputChange(file_input);
} else {
Sunstone.runAction("Image.create", img_obj);