mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-26 06:50:09 +03:00
feature #2746: Fix cluster reset
This commit is contained in:
parent
02823770f6
commit
7dbd38d2ee
@ -473,9 +473,9 @@ function popUpCreateClusterDialog(){
|
||||
|
||||
filter_expr = "-" ;
|
||||
|
||||
if ($create_cluster_dialog)
|
||||
if ($("#create_cluster_dialog"))
|
||||
{
|
||||
$create_cluster_dialog.html("");
|
||||
$("#create_cluster_dialog").remove();
|
||||
dialogs_context.append('<div title=\"'+tr("Create cluster")+'\" id="create_cluster_dialog"></div>');
|
||||
}
|
||||
|
||||
@ -505,9 +505,8 @@ function popUpUpdateClusterDialog(){
|
||||
|
||||
var dialog = $create_cluster_dialog;
|
||||
|
||||
if (dialog)
|
||||
{
|
||||
dialog.html("");
|
||||
if ($("#create_cluster_dialog")) {
|
||||
$("#create_cluster_dialog").remove();
|
||||
dialogs_context.append('<div id="create_cluster_dialog"></div>');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user