dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #30395
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15428: fixes height issue with detailed export, uses new heightStyle property on accordion
------------------------------------------------------------
revno: 15428
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-05-27 13:51:17 +0200
message:
fixes height issue with detailed export, uses new heightStyle property on accordion
modified:
dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/filterExportForm.vm
dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/detailedMetaDataImport.js
dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/filteredMetaDataExport.js
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/filterExportForm.vm'
--- dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/filterExportForm.vm 2014-05-27 11:43:55 +0000
+++ dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/filterExportForm.vm 2014-05-27 11:51:17 +0000
@@ -148,7 +148,7 @@
<!-- ATTRIBUTES TYPES SELECTION -->
<h6 id="headingAttributes" style="font-size: 10pt;"><label>$i18n.getString( "attribute_types" )</label></h6>
- <div id="mainDivAttributes" style="margin: 5px;"></div>
+ <div id="mainDivAttributes" style="margin: 5px; height: 340px;"></div>
<!-- CATEGORIES SELECTION -->
<h6 id="headingDimensions" style="font-size: 10pt;"><label>$i18n.getString( "categories" )</label></h6>
=== modified file 'dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/detailedMetaDataImport.js'
--- dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/detailedMetaDataImport.js 2014-05-27 11:39:46 +0000
+++ dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/detailedMetaDataImport.js 2014-05-27 11:51:17 +0000
@@ -1,5 +1,5 @@
// Global Variables
-var metaDataArray = [ "Attributes", "Dimensions", "Charts", "Concepts", "Constants", "DataDictionaries", "DataElementGroupSets",
+var metaDataArray = [ "AttributesTypes", "Dimensions", "Charts", "Concepts", "Constants", "DataDictionaries", "DataElementGroupSets",
"DataElementGroups", "DataElements", "DataSets", "Documents", "IndicatorGroupSets", "IndicatorGroups", "Indicators",
"IndicatorTypes", "MapLegendSets", "Maps", "OptionSets", "OrganisationUnitGroupSets", "OrganisationUnitGroups",
"OrganisationUnitLevels", "OrganisationUnits", "ReportTables", "Reports", "SqlViews", "UserGroups", "UserRoles",
@@ -18,7 +18,7 @@
active: false,
collapsible: true,
clearStyle: true,
- autoHeight: false
+ heightStyle: 'content'
} );
selectAllMetaDataCategories();
=== modified file 'dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/filteredMetaDataExport.js'
--- dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/filteredMetaDataExport.js 2014-05-27 11:39:46 +0000
+++ dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/javascript/filteredMetaDataExport.js 2014-05-27 11:51:17 +0000
@@ -15,8 +15,8 @@
$( "#mainDivAccordion" ).accordion( {
active: false,
collapsible: true,
- clearStyle: true,
- autoHeight: false
+ clearStyle: false,
+ heightStyle: 'content'
} );
loadMetaDataAccordionEvents();