diff Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/Ponentes.cshtml @ 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 b43dc14886e3
children 5f1e3d35e113
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);