NIHVIVO-193 On step 1 of position history form, don't show Continue button. Instead, bind the event listener that opens the rest of the form to a selection from the org drop-down.
This commit is contained in:
parent
4ea2ae107b
commit
41c84beade
1 changed files with 2 additions and 2 deletions
|
@ -282,13 +282,13 @@ public class InputElementFormattingTag extends TagSupport {
|
||||||
} else if ( "admin".equals( getCancel() )){
|
} else if ( "admin".equals( getCancel() )){
|
||||||
return " or <a class=\"cancel\" href=\"" + vreq.getContextPath()
|
return " or <a class=\"cancel\" href=\"" + vreq.getContextPath()
|
||||||
+ Controllers.SITE_ADMIN + " title=\"Cancel\">"+labelStr+"</a>";
|
+ Controllers.SITE_ADMIN + " title=\"Cancel\">"+labelStr+"</a>";
|
||||||
}else if( "dashboard".equals( getCancel() )){ //this case is Datastar specific.
|
}else if( "dashboard".equals( getCancel() )){ //this case is Datastar-specific.
|
||||||
return " or <a class=\"cancel\" href=\"" + vreq.getContextPath()
|
return " or <a class=\"cancel\" href=\"" + vreq.getContextPath()
|
||||||
+ "/dashboard\" title=\"Cancel\">"+labelStr+"</a>";
|
+ "/dashboard\" title=\"Cancel\">"+labelStr+"</a>";
|
||||||
}else if (getCancel()!=null && !getCancel().equals("")) {
|
}else if (getCancel()!=null && !getCancel().equals("")) {
|
||||||
if( editConfig != null && editConfig.getEditKey() != null ){
|
if( editConfig != null && editConfig.getEditKey() != null ){
|
||||||
try{
|
try{
|
||||||
return " or <a class=\"cancel\" href=\"" + vreq.getContextPath()
|
return "<span class=\"or\"> or </span><a class=\"cancel\" href=\"" + vreq.getContextPath()
|
||||||
+ "/edit/postEditCleanUp.jsp?editKey="+ URLEncoder.encode(editConfig.getEditKey(),"UTF-8")
|
+ "/edit/postEditCleanUp.jsp?editKey="+ URLEncoder.encode(editConfig.getEditKey(),"UTF-8")
|
||||||
+"\" title=\"Cancel\">"+labelStr+"</a>";
|
+"\" title=\"Cancel\">"+labelStr+"</a>";
|
||||||
}catch(UnsupportedEncodingException ex){
|
}catch(UnsupportedEncodingException ex){
|
||||||
|
|
Loading…
Add table
Reference in a new issue