From 4af42b34300cd545e3d6b2b6ecb50752bed21ca5 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Mon, 16 Apr 2018 12:13:28 +0200 Subject: [PATCH] UIfix --- Site/Pages/v5/Ledgers/AccountPlan.aspx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Site/Pages/v5/Ledgers/AccountPlan.aspx b/Site/Pages/v5/Ledgers/AccountPlan.aspx index b9292a6c..2d1fc326 100644 --- a/Site/Pages/v5/Ledgers/AccountPlan.aspx +++ b/Site/Pages/v5/Ledgers/AccountPlan.aspx @@ -258,20 +258,17 @@ } if (accountType == 'A') { - $('#DivEditAssetLabels').show(); - $('#DivEditAssetControls').show(); + $('.DivEditAssetControls').show(); $('#DivEditProfitLossLabels').hide(); $('#DivEditProfitLossControls').hide(); accountTree.combotree('reload', '/Automation/Json-FinancialAccountsTree.aspx?AccountType=Asset&ExcludeId=' + accountId); } else if (accountType == 'D') { // Debt, aka Liability - $('#DivEditAssetLabels').hide(); - $('#DivEditAssetControls').hide(); + $('.DivEditAssetControls').hide(); $('#DivEditProfitLossLabels').hide(); $('#DivEditProfitLossControls').hide(); accountTree.combotree('reload', '/Automation/Json-FinancialAccountsTree.aspx?AccountType=Debt&ExcludeId=' + accountId); } else { // P&L account - $('#DivEditAssetLabels').hide(); - $('#DivEditAssetControls').hide(); + $('.DivEditAssetControls').hide(); $('#DivEditProfitLossLabels').show(); $('#DivEditProfitLossControls').show(); @@ -583,7 +580,7 @@ font-weight:500; } - .DivEditAutomaticRetrievalCredentials, .DivEditAutomationProfileCustom, .DivEditAutomaticRetrieval, .DivEditAutomationControls, .DivEditForexControls { + .DivEditAutomaticRetrievalCredentials, .DivEditAutomationProfileCustom, .DivEditAutomaticRetrieval, .DivEditAutomationControls, .DivEditForexControls, .DivEditAssetControls { display: none; }