Ticket #10131: RelatedObjectLookups.js.diff
File RelatedObjectLookups.js.diff, 647 bytes (added by , 16 years ago) |
---|
-
RelatedObjectLookups.js
64 64 elem.options[elem.options.length] = o; 65 65 o.selected = true; 66 66 } else if (elem.nodeName == 'INPUT') { 67 elem.value = newId; 67 if (elem.className.indexOf('vManyToManyRawIdAdminField') != -1 && elem.value) { 68 elem.value += ',' + newId; 69 } else { 70 elem.value = newId; 71 } 68 72 } 69 73 } else { 70 74 var toId = name + "_to";