X-Git-Url: https://git.llucax.com/software/sercom.git/blobdiff_plain/f18d69db3d8000a85f0e6520aae8a89555376e45..bb3a3d03bf92ef52736ad9c4c697796cc5cbd25d:/sercom/widgets.py?ds=inline diff --git a/sercom/widgets.py b/sercom/widgets.py index ba75c51..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
- +