X-Git-Url: https://git.llucax.com/z.facultad/75.52/sercom.git/blobdiff_plain/4104ef7e05e040adfe87f45427d58a66201516c9..0847b12d5f70f61ea2a3f604b2bcf2f4320b00a6:/sercom/widgets.py diff --git a/sercom/widgets.py b/sercom/widgets.py index 5d35606..612d950 100644 --- a/sercom/widgets.py +++ b/sercom/widgets.py @@ -42,17 +42,9 @@ MultiSelectAjax = ''' function sacar_de_la_lista(lista) { - l = MochiKit.DOM.getElement(lista); - if (l.selectedIndex < 0) return; - - /* caso especial, 1 solo item */ - if (l.options.length == 1) { - l.options.length = 0 - return; - } - - for (i=l.selectedIndex; i
- +