This commit is contained in:
jnunez 2018-06-08 19:16:04 +00:00
parent 87fa27670e
commit 0abfc22356
3 changed files with 7 additions and 6 deletions

View file

@ -9,7 +9,8 @@ namespace AYA.SlnSinort
public static void RegisterBundles(BundleCollection bundles) public static void RegisterBundles(BundleCollection bundles)
{ {
bundles.Add(new ScriptBundle("~/bundles/jquery").Include( bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-3.3.1.js")); "~/Scripts/jquery-3.3.1.js")
.Include("~/Scripts/jquery-3.3.1.min.js"));
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include( bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
"~/Scripts/jquery-ui-1.12.1.js")); "~/Scripts/jquery-ui-1.12.1.js"));

View file

@ -108,7 +108,8 @@ button.toast-close-button {
-webkit-box-shadow: 0 0 12px #999999; -webkit-box-shadow: 0 0 12px #999999;
box-shadow: 0 0 12px #999999; box-shadow: 0 0 12px #999999;
color: #ffffff; color: #ffffff;
opacity: 0.8; /*opacity: 0.8;*/
opacity: 1;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80); -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
filter: alpha(opacity=80); filter: alpha(opacity=80);
} }

View file

@ -164,18 +164,17 @@ this.toggleEnabledItem = function (id, value) {
TableItems = $('#TableItems').DataTable(); TableItems = $('#TableItems').DataTable();
Item = { Item = {
IdEjecutivo: id, IdEmisor: id,
Estado: value, Estado: value,
UsuarioModificado: $("#hiddenUserID").val()
} }
var uri = 'api/EjecutivoAPI/toggleStateItem/'; var uri = CatalogosWCF + '/api/ModificarEstadoEmisorPN';
var DTO = JSON.stringify(Item); var DTO = JSON.stringify(Item);
$.ajax({ $.ajax({
type: 'POST', type: 'POST',
url: server + uri, url: uri,
cache: false, cache: false,
data: DTO, data: DTO,
contentType: 'application/json; charset=utf-8', contentType: 'application/json; charset=utf-8',