mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
feature #2746: Fix cluster reset
This commit is contained in:
1 parent
02823770f6
commit
7dbd38d2ee
1 file changed
+4
-5
@@ -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>');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user