mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merge V3.2 to HEAD
16684: Fixed ETHREEOH-2348 "Wrong WebProject description display" - Description limited to 1000 chars - The new values for name & description get displayed directly after update git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16917 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -138,7 +138,10 @@ public class EditWebsiteWizard extends CreateWebsiteWizard
|
||||
// persist the forms, templates, workflows, workflow defaults and deployment config
|
||||
// to the model for this web project
|
||||
saveWebProjectModel(nodeRef);
|
||||
|
||||
|
||||
// Make sure name and description are refreshed before display
|
||||
this.navigator.resetCurrentNodeProperties();
|
||||
|
||||
return AlfrescoNavigationHandler.CLOSE_WIZARD_OUTCOME;
|
||||
}
|
||||
|
||||
|
@@ -48,13 +48,16 @@
|
||||
function checkButtonState()
|
||||
{
|
||||
if (document.getElementById("wizard:wizard-body:name").value.length == 0 ||
|
||||
document.getElementById("wizard:wizard-body:dnsname").value.length < 1)
|
||||
document.getElementById("wizard:wizard-body:dnsname").value.length < 1 ||
|
||||
document.getElementById("wizard:wizard-body:description").value.length > 1000)
|
||||
{
|
||||
document.getElementById("wizard:next-button").disabled = true;
|
||||
document.getElementById("wizard:finish-button").disabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById("wizard:next-button").disabled = false;
|
||||
document.getElementById("wizard:finish-button").disabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -171,7 +174,8 @@
|
||||
</td>
|
||||
<td>
|
||||
</f:verbatim>
|
||||
<h:inputTextarea id="description" value="#{WizardManager.bean.description}" rows="3" cols="42" />
|
||||
<h:inputTextarea id="description" value="#{WizardManager.bean.description}" rows="3" cols="42"
|
||||
onkeyup="javascript:checkButtonState();" />
|
||||
<f:verbatim>
|
||||
</td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user