mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 7357: network offering page - clean details tab when there is no network offering.
This commit is contained in:
parent
700402311d
commit
eb49b29b1b
@ -116,12 +116,16 @@ function networkOfferingToRightPanel($midmenuItem1) {
|
||||
|
||||
function networkOfferingJsonToDetailsTab() {
|
||||
var $midmenuItem1 = $("#right_panel_content").data("$midmenuItem1");
|
||||
if($midmenuItem1 == null)
|
||||
if($midmenuItem1 == null) {
|
||||
networkOfferingClearDetailsTab();
|
||||
return;
|
||||
}
|
||||
|
||||
var jsonObj = $midmenuItem1.data("jsonObj");
|
||||
if(jsonObj == null)
|
||||
if(jsonObj == null) {
|
||||
networkOfferingClearDetailsTab();
|
||||
return;
|
||||
}
|
||||
|
||||
var $thisTab = $("#right_panel_content #tab_content_details");
|
||||
$thisTab.find("#tab_container").hide();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user