Changeset 49728
- Timestamp:
- 10/18/06 14:15:15 (4 years ago)
- Files:
-
- CPS3/products/CPSUtil/trunk/CHANGES (modified) (1 diff)
- CPS3/products/CPSUtil/trunk/skins/scriptaculous/prototype.js.dtml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
CPS3/products/CPSUtil/trunk/CHANGES
r49703 r49728 7 7 Bug fixes 8 8 ~~~~~~~~~ 9 - [packaging] bundleman svn property9 - #1761: AJAX edit: wrong behaviour with <select> and empty values 10 10 New internal features 11 11 ~~~~~~~~~~~~~~~~~~~~~ CPS3/products/CPSUtil/trunk/skins/scriptaculous/prototype.js.dtml
r48485 r49728 1551 1551 if (index >= 0) { 1552 1552 opt = element.options[index]; 1553 value = opt.value || opt.text; 1553 value = opt.value 1554 if (value == null) { 1555 value = opt.text; 1556 } 1554 1557 } 1555 1558 return [element.name, value]; … … 1558 1561 selectMany: function(element) { 1559 1562 var value = []; 1563 var attr = ''; 1560 1564 for (var i = 0; i < element.length; i++) { 1561 1565 var opt = element.options[i]; 1562 1566 if (opt.selected) 1563 value.push(opt.value || opt.text); 1567 attr = opt.value 1568 if (attr == null) { 1569 attr = opt.text; 1570 } 1571 value.push(attr); 1564 1572 } 1565 1573 return [element.name, value];
