diff --git a/GPS/Rastreo.aspx b/GPS/Rastreo.aspx index 79ce9cf80..fdce52776 100644 --- a/GPS/Rastreo.aspx +++ b/GPS/Rastreo.aspx @@ -2572,13 +2572,13 @@ }); } - var indiceAnterior = 0; - function CargaDatosSeleccionados(indice, valor) { + var indiceAnteriorPI = 0; + function CargaDatosSeleccionadosPI(indice, valor) { var columnaSeleccionada = 2 + indice; $('#HdnGrupo').val(valor); $('#C_GvGrupos tr').filter(':nth-child(' + indiceAnterior + ')').css('background-color', 'initial'); $('#C_GvGrupos tr').filter(':nth-child(' + columnaSeleccionada + ')').css('background-color', '#F5B27A'); - indiceAnterior = columnaSeleccionada; + indiceAnteriorPI = columnaSeleccionada; } function CambiaTipo(Tipo) { diff --git a/GPS/Rastreo.aspx.vb b/GPS/Rastreo.aspx.vb index 2ba571c95..46134184b 100644 --- a/GPS/Rastreo.aspx.vb +++ b/GPS/Rastreo.aspx.vb @@ -2190,7 +2190,7 @@ Partial Class GPS_Rastreo Protected Sub GvGrupos_RowDataBound(sender As Object, e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GvGrupos.RowDataBound If e.Row.RowType = DataControlRowType.DataRow Then - e.Row.Attributes.Add("onClick", $"CargaDatosSeleccionados({e.Row.RowIndex}, '{e.Row.DBCampo("CvePuntoDeInteresGrupo").ToString}');") + e.Row.Attributes.Add("onClick", $"CargaDatosSeleccionadosPI({e.Row.RowIndex}, '{e.Row.DBCampo("CvePuntoDeInteresGrupo").ToString}');") End If End Sub