Author: tchemit Date: 2014-04-09 16:04:51 +0200 (Wed, 09 Apr 2014) New Revision: 1875 Url: http://forge.codelutin.com/projects/wao/repository/revisions/1875 Log: refs #4487 fix focus Modified: trunk/wao-web/src/main/webapp/WEB-INF/content/obsmer/contacts.jsp trunk/wao-web/src/main/webapp/WEB-INF/content/obsmer/edit-contact-input.jsp Modified: trunk/wao-web/src/main/webapp/WEB-INF/content/obsmer/contacts.jsp =================================================================== --- trunk/wao-web/src/main/webapp/WEB-INF/content/obsmer/contacts.jsp 2014-04-09 14:04:13 UTC (rev 1874) +++ trunk/wao-web/src/main/webapp/WEB-INF/content/obsmer/contacts.jsp 2014-04-09 14:04:51 UTC (rev 1875) @@ -530,7 +530,7 @@ <s:set name="focusAnchor">adminFocus</s:set> </s:if> <s:else> - <s:set name="focusAnchor">coordinatorFocus</s:set> + <s:set name="focusAnchor">coordinatorOrObserverFocus</s:set> </s:else> <s:url action="edit-contact!input" id="editContactUrl" anchor='%{focusAnchor}'> <s:param name="contactId" value="topiaId"/> Modified: trunk/wao-web/src/main/webapp/WEB-INF/content/obsmer/edit-contact-input.jsp =================================================================== --- trunk/wao-web/src/main/webapp/WEB-INF/content/obsmer/edit-contact-input.jsp 2014-04-09 14:04:13 UTC (rev 1874) +++ trunk/wao-web/src/main/webapp/WEB-INF/content/obsmer/edit-contact-input.jsp 2014-04-09 14:04:51 UTC (rev 1875) @@ -126,7 +126,8 @@ </fieldset> - <fieldset id="coordinatorFocus"> + <%--Do not remove the id (use by contacts page)--%> + <fieldset id="coordinatorOrObserverFocus"> <legend><s:text name="wao.ui.misc.observationReport"/></legend> <s:set name="editObservationReport" @@ -202,7 +203,8 @@ </fieldset> - <fieldset name="adminFocus"> + <%--Do not remove the id (use by contacts page)--%> + <fieldset id="adminFocus"> <legend><s:text name="wao.ui.form.programEvaluation"/></legend> <s:if test="authenticatedWaoUser.authorizedToDisplayContactDataReliability">