git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C407
This commit is contained in:
parent
10d0f3db70
commit
83ac43248f
2 changed files with 8 additions and 1 deletions
|
|
@ -6,9 +6,10 @@ using System.Web.Mvc;
|
|||
|
||||
namespace AYA.SlnSinort.Controllers.NormativaReglamentacionTecnica
|
||||
{
|
||||
[LoggingFilter]
|
||||
public class NormativaReglamentacionTecnicaController : BaseController
|
||||
{
|
||||
[LoggingFilter]
|
||||
|
||||
public ActionResult FichaTecnica()
|
||||
{
|
||||
InitControllers();
|
||||
|
|
|
|||
|
|
@ -265,6 +265,12 @@ this.getDataModel = function () {
|
|||
|
||||
$("#btnEliminar").unbind("click");
|
||||
$("#btnEliminar").click(function () {
|
||||
if (ValidarPermisos('Eliminar ficha técnica').length <= 0) {
|
||||
if (ValidarPermisos('Super Usuario').length <= 0) {
|
||||
toastr.warning(Message_NoGrants, Message_Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
EliminarFicha(false);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue