=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js 2010-10-15 13:15:20 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/commons.js 2010-10-18 08:12:47 +0000 @@ -822,6 +822,9 @@ maxDate: '+0d +0w', constrainInput: true }); + + if( today == undefined ) today = false; + if( today ){ s = jQuery("#" + id ); if( s.val()=='' ) s.val( getCurrentDate() ); === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/resources/org/hisp/dhis/dataset/i18n_module.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/resources/org/hisp/dhis/dataset/i18n_module.properties 2010-10-14 08:54:26 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/resources/org/hisp/dhis/dataset/i18n_module.properties 2010-10-18 08:12:47 +0000 @@ -124,4 +124,5 @@ confirm_save = This operation will change the old orgunits assigned to these datasets.\nAre you sure to save this? not_change_old_but_assign_new_only = Do not change the old assignment but assign new only. datasets_different_orgunitlist = These selected datasets are not the same the list of organsation unit. -optional = Optional expansion \ No newline at end of file +optional = Optional expansion +dataelement_is_inserted = Data Element was inserted \ No newline at end of file === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/viewDataEntryForm.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/viewDataEntryForm.vm 2010-10-13 05:33:11 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/viewDataEntryForm.vm 2010-10-18 08:12:47 +0000 @@ -5,11 +5,8 @@ #if($status == "EDIT") dataEntryFormId = $dataEntryForm.id; - #end - - var FCKConfig; - var FCK; - + #end + var autoSave = '$!autoSave'; var oFCKeditor; @@ -19,14 +16,11 @@ autoSave = false; validateDataEntryForm(); } ); - - //oFCKeditor = new FCKeditor( 'designTextarea', "100%", 600 ); - //oFCKeditor.BasePath = "javascript/FCK/"; - // oFCKeditor.ReplaceTextarea(); jQuery("#dataElementSelection").resizable({ minHeight:210, - minWidth:300, + minWidth:400, + width:400, alsoResize: "#dataElementList" }); @@ -76,6 +70,11 @@ margin-top:5px; } +#message_{ + display:block; + color:red; +} + @@ -138,7 +137,7 @@

$i18n.getString( 'dataelement' )

-
+
#foreach( $operand in $operands ) @@ -150,18 +149,27 @@ #end
-
- $i18n.getString( "view_as" ) - - + + + + + +
+ $i18n.getString( "view_as" )
+ + +
+ +