Disables the button save in change password window and remove role and profile button on edit user

FEA: ItEr76S12LdapAuhentication
This commit is contained in:
Ignacio Diaz Teijido 2012-02-17 16:03:38 +01:00 committed by Manuel Rego Casasnovas
parent 7ac04693c5
commit 5eae957399
2 changed files with 3 additions and 3 deletions

View file

@ -80,7 +80,7 @@
<hbox>
<button label="${i18n:_('Save')}"
sclass="save-button global-action"
onClick="passwordController.save()" />
onClick="passwordController.save()" disabled="@{passwordController.ldapUser}"/>
</hbox>
</window>
</zk>

View file

@ -113,7 +113,7 @@
<button sclass="icono" image="/common/img/ico_borrar1.png"
hoverImage="/common/img/ico_borrar.png"
tooltiptext="${i18n:_('Delete')}"
onClick="controller.removeRole(self.parent.parent.value);">
onClick="controller.removeRole(self.parent.parent.value);" disabled="@{controller.ldapUserRolesLdapConfiguration}">
</button>
</hbox>
</row>
@ -146,7 +146,7 @@
<button sclass="icono" image="/common/img/ico_borrar1.png"
hoverImage="/common/img/ico_borrar.png"
tooltiptext="${i18n:_('Delete')}"
onClick="controller.removeProfile(self.parent.parent.value);">
onClick="controller.removeProfile(self.parent.parent.value);" disabled="@{controller.ldapUserRolesLdapConfiguration}">
</button>
</hbox>
</row>