Mensaje de Message_NoGrants
git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C259
This commit is contained in:
parent
522ae8d277
commit
aa6c90da0e
1 changed files with 3 additions and 3 deletions
|
|
@ -129,7 +129,7 @@ this.getDataModel = function () {
|
|||
$("#btnAgregarComentario").click(function () {
|
||||
if (EsPromotor == false) {
|
||||
if (ValidarPermisos('Ingreso y actualización de área de foro').length <= 0 || Estado != Estados.Activo.Codigo || Estado != Estados.Inicial.Codigo) {
|
||||
toastr.warning('No tiene permisos para ejecutar esta opción', Message_Warning);
|
||||
toastr.warning(Message_NoGrants, Message_Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
@ -1228,12 +1228,12 @@ this.AbrirAdjuntos = function (id) {
|
|||
if (EsPromotor == false) {
|
||||
|
||||
if (id == 2 && ValidarPermisos('Accesar documentos auxiliares del foro').length <= 0) {
|
||||
toastr.warning('No tiene permisos para ejecutar esta opción', Message_Warning);
|
||||
toastr.warning(Message_NoGrants, Message_Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
if (id == 3 && ValidarPermisos('Accesar expediente de propuesta normativa').length <= 0) {
|
||||
toastr.warning('No tiene permisos para ejecutar esta opción', Message_Warning);
|
||||
toastr.warning(Message_NoGrants, Message_Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue