Update of /var/cvs/html/mmbase/validation
In directory james.mmbase.org:/tmp/cvs-serv32023

Modified Files:
      Tag: MMBase-1_8
        Widgets.js 
Log Message:
copying some other attributes as well


See also: http://cvs.mmbase.org/viewcvs/html/mmbase/validation


Index: Widgets.js
===================================================================
RCS file: /var/cvs/html/mmbase/validation/Widgets.js,v
retrieving revision 1.2.2.8
retrieving revision 1.2.2.9
diff -u -b -r1.2.2.8 -r1.2.2.9
--- Widgets.js  10 Dec 2008 11:53:22 -0000      1.2.2.8
+++ Widgets.js  10 Dec 2008 12:03:54 -0000      1.2.2.9
@@ -9,7 +9,7 @@
  *  -  Widgets.instance.boxes(selector):  Makes select into a list of 
checkboxes (multiple) or radioboxes (single)
  *  -  Widgets.instance.twoMultiples(selector):  Splits up multiple selection 
into 2 boxes, the left one containing the selected values, the right one the 
optiosn which are not selected.
  *
- * @version $Id: Widgets.js,v 1.2.2.8 2008/12/10 11:53:22 michiel Exp $   BETA
+ * @version $Id: Widgets.js,v 1.2.2.9 2008/12/10 12:03:54 michiel Exp $   BETA
  * @author Michiel Meeuwissen
 
  */
@@ -139,6 +139,8 @@
 Widgets.prototype.multipleBoxes = function(select) {
     var t = $(select);
     var text = $("<div class='mm_boxes' />");
+    text.attr("id", t.attr("id"));
+    text.addClass(t.attr("class"));
     var hidden = $("<input type='hidden' />");
     text.append(hidden);
     hidden.attr("name", t.attr("name"));
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to