Merged V3.2 to HEAD

16798: Fix for ETHREEOH-1305. Null Path error if user clicks on Next Item icon on View Details page.
   16800: Fix for ETHREEOH-2884 - Language icon near the content is displayed as "NULL". User can't change any language.
   16805: Merged DEV-TEMPORARY to V3.2
      16789: ETHREEOH-1895: Performing "Done Editing" action simultaneously leads to NPE
   16806: ETHREEOH-1898 - Delete icon missing from Shortcut list in Shelf
   16807: Fix for ETHREEOH-2356 - Error message appears when user tries to apply template to locked content.
      - missed one of the actions with the evaluator wrapping first time around.
   16808: Minor javadoc update
   16815: XHTML compliance fixes. Dashboard pages etc. now render as fully compliant XHTML again.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16943 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2009-10-15 08:11:27 +00:00
parent fdc7ae1fe5
commit 755abcca82
63 changed files with 401 additions and 414 deletions

View File

@@ -175,7 +175,7 @@ public class MakeMultilingualDialog extends BaseDialogBean
@Override
public boolean getFinishButtonDisabled()
{
return !(author != null && author.length() > 0 && language != null);
return !(author != null && author.length() != 0 && language != null && language.length() != 0);
}
@@ -224,7 +224,6 @@ public class MakeMultilingualDialog extends BaseDialogBean
this.addTranslationAfter = addTranslationAfter;
}
/**
* @return the language of the translation
*/
@@ -294,5 +293,4 @@ public class MakeMultilingualDialog extends BaseDialogBean
{
this.userPreferencesBean = userPreferencesBean;
}
}