comparison Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/Ponente.cshtml @ 224:de6d206bd5c3

Actualizando subpanels
author nelopauselli
date Sun, 25 Sep 2011 01:40:18 -0300
parents b9850b647a4e
children
comparison
equal deleted inserted replaced
223:6f2213e949e4 224:de6d206bd5c3
1 @model Guid 1 @model Guid
2 <script type="text/javascript"> 2 <script type="text/javascript">
3 $(document).ready(function () { 3 $(document).ready(function () {
4 $("#agregarPonente").subpanel({ successful: recargar, confirmButton: "Agregar", action: '/PersonaApi/Nueva' }); 4 $("#agregarPonente").subpanel({ success: recargar, url: '/PersonaApi/Nueva' });
5 }); 5 });
6 6
7 function recargar(data) { 7 function recargar(data) {
8 if (data.Succeful) { 8 if (data.Succeful) {
9 // obtenemos el dropdown 9 // obtenemos el dropdown