mirror of https://github.com/apache/cloudstack.git
bug 9426: Deleting a template will no longer cause UI to continue to track download progress resulting in errors appearing.
This commit is contained in:
parent
db40e32095
commit
7ec80d8b61
|
|
@ -614,7 +614,7 @@ var templateActionMap = {
|
|||
if((jsonObj.id == $("#right_panel_content").find("#tab_content_details").find("#id").text())
|
||||
&& ((jsonObj.zoneid == null) || (jsonObj.zoneid != null && jsonObj.zoneid == $("#right_panel_content").find("#tab_content_details").find("#zoneid").text()))) {
|
||||
clearRightPanel();
|
||||
isoClearRightPanel();
|
||||
isoClearRightPanel();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -768,7 +768,8 @@ function doDeleteTemplate($actionLink, $detailsTab, $midmenuItem1) {
|
|||
$dialog1
|
||||
.dialog('option', 'buttons', {
|
||||
"Confirm": function() {
|
||||
$(this).dialog("close");
|
||||
$(this).dialog("close");
|
||||
$("body").stopTime("templateDownloadProgress");
|
||||
var apiCommand = "command=deleteTemplate&id="+id+moreCriteria.join("");
|
||||
doActionToTab(id, $actionLink, apiCommand, $midmenuItem1, $detailsTab);
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue