Mercurial > altnet-hispano
changeset 247:92c912b46307
Ticket #183: que la url del subpanel funcione en el directorio virtual
author | nelopauselli |
---|---|
date | Fri, 07 Oct 2011 12:54:56 -0300 |
parents | 70c5cab59054 |
children | da9c295e9fa1 |
files | Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/Ponentes.cshtml |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/Ponentes.cshtml Fri Oct 07 12:36:47 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/Ponentes.cshtml Fri Oct 07 12:54:56 2011 -0300 @@ -1,7 +1,7 @@ @model IEnumerable<Guid> <script type="text/javascript"> $(document).ready(function () { - $("#agregarPonente").subpanel({ success: add_new_otro_ponente, url: '/PersonaApi/Nueva' }); + $("#agregarPonente").subpanel({ success: add_new_otro_ponente, url: '@Url.Action("Nueva", "PersonaApi")' }); $("#add").click(select_otro_ponente); $("#remove").click(remove_otro_ponente);