mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +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() {
|
function networkOfferingJsonToDetailsTab() {
|
||||||
var $midmenuItem1 = $("#right_panel_content").data("$midmenuItem1");
|
var $midmenuItem1 = $("#right_panel_content").data("$midmenuItem1");
|
||||||
if($midmenuItem1 == null)
|
if($midmenuItem1 == null) {
|
||||||
|
networkOfferingClearDetailsTab();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var jsonObj = $midmenuItem1.data("jsonObj");
|
var jsonObj = $midmenuItem1.data("jsonObj");
|
||||||
if(jsonObj == null)
|
if(jsonObj == null) {
|
||||||
|
networkOfferingClearDetailsTab();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var $thisTab = $("#right_panel_content #tab_content_details");
|
var $thisTab = $("#right_panel_content #tab_content_details");
|
||||||
$thisTab.find("#tab_container").hide();
|
$thisTab.find("#tab_container").hide();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user