Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/Views/Shared/DefaultEditor.cshtml @ 225:f23ee59ef1bd
Otros ponentes
author | nelopauselli |
---|---|
date | Mon, 26 Sep 2011 08:47:01 -0300 |
parents | b9850b647a4e |
children | b43dc14886e3 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Views/Shared/DefaultEditor.cshtml Sun Sep 25 01:40:18 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Views/Shared/DefaultEditor.cshtml Mon Sep 26 08:47:01 2011 -0300 @@ -9,6 +9,16 @@ <script src="@Url.Content("~/Scripts/subpanels-0.9.js")" type="text/javascript"></script> <link rel="stylesheet" href="@Url.Content("~/Content/subpanels-0.9.css")" type="text/css" /> +<script type="text/javascript"> + $(document).ready(function () { + $("form:first").submit(function () { + $("#OtrosPonentes option").each(function () { + $(this).attr("selected", "selected"); + }); + }); + }); +</script> + @using (Html.BeginForm()) { @Html.ValidationSummary(true)