mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
Feature #2778: Fix image create dialog
This commit is contained in:
1 parent
353955335d
commit
cba45def08
1 file changed
+2
-1
@@ -246,7 +246,8 @@ var image_actions = {
|
||||
call: OpenNebula.Image.create,
|
||||
callback: function(request, response){
|
||||
addImageElement(request, response);
|
||||
if ($appmarket_import_dialog || $marketplace_import_dialog) {
|
||||
if (typeof($appmarket_import_dialog) !== 'undefined' ||
|
||||
typeof($marketplace_import_dialog) !== 'undefined') {
|
||||
$create_image_dialog.trigger('close');
|
||||
} else {
|
||||
$create_image_dialog.foundation('reveal', 'close');
|
||||
|
||||
Reference in new issue
Block a user