=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/scripts/services.js' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/scripts/services.js 2014-11-19 12:00:31 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/scripts/services.js 2014-11-19 12:45:44 +0000 @@ -392,6 +392,8 @@ ' typeahead="option.name as option.name for option in optionSets.'+optionSetId+'.options | filter:$viewValue | limitTo:20"' + ' typeahead-editable="false" ' + ' d2-typeahead-validation ' + + ' class="typeahead" ' + + ' placeholder="  " ' + ' typeahead-open-on-focus ng-required="prStDes.'+deId+'.compulsory"> ' + '{{\'option_required\'| translate}}'; } @@ -576,7 +578,7 @@ this.translate = function(){ var profile = storage.get('USER_PROFILE'); - if( profile ){ + if( profile && profile.settings ){ $translate.uses(profile.settings.keyUiLocale); } }; === modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/views/defaultForm.html' --- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/views/defaultForm.html 2014-11-19 12:00:31 +0000 +++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/views/defaultForm.html 2014-11-19 12:45:44 +0000 @@ -31,42 +31,44 @@ ng-model="currentEvent.eventDate" ng-disabled="editingEventInFull" ng-required="true" - name="eventDate"/> + name="eventDate" + style="width:99%;"/> {{'date_required'| translate}} - {{'lat_lng' | translate}} + {{'latitude'| translate}} - - - {{'int_required'| translate}} [-90 ... 90] - - - + {{'int_required'| translate}} [-90 ... 90] + + + + + {{'longitude'| translate}} + + + - {{'int_required'| translate}}[-180 ... 180] - - - - + style="width:99%;"/> + {{'int_required'| translate}}[-180 ... 180] + + + {{eventGridColumn.name}} @@ -261,10 +263,12 @@
- + {{'no_value' | translate}}
-