-
@@ -65,24 +69,20 @@
{
expression = jQuery( '#dataelement textarea[id=formula]' ).val();
setFieldValue( 'expression', expression );
- hideById('dataelement');
- unLockScreen();
+ closeDialog( deExpressionDialog );
}
function deExpressionBuilderForm()
{
- #if($exportReport.isCategory())
+ #if ( $exportReport.isCategory() )
getDataElementCategoryOptionCombos();
#else
dataDictionary.loadDataElementGroups("#dataelement select[id=groupSelect]") ;
#end
setFieldValue( 'dataelement textarea[id=formula]', getFieldValue('expression') );
- #if(!$exportReport.isCategory())
- showPopupWindowById( 'dataelement', 800, 430 );
- #else
- showPopupWindowById( 'dataelement', 800, 350 );
- #end
+
+ openDialog( deExpressionDialog );
}
function getDataElements( id, target )
@@ -109,8 +109,6 @@
jQuery.each( json.dataElementCategoryOptionCombos, function(i, item ){
select.append( "
" );
});
-
});
}
-
\ No newline at end of file
=== modified file 'local/vn/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/report/excelFormulaExpressionBuilderForm.vm'
--- local/vn/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/report/excelFormulaExpressionBuilderForm.vm 2011-05-24 07:48:23 +0000
+++ local/vn/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/report/excelFormulaExpressionBuilderForm.vm 2011-07-05 07:08:32 +0000
@@ -1,10 +1,19 @@
-