Bug #17276 » foreign_unique.diff
../../../typo3_src-4.1.1/t3lib/jsfunc.inline.js 2007-05-07 15:54:45.000000000 +0200 | ||
---|---|---|
// remove all before used items from the new select-item
|
||
for (var i=0; i<values.length; i++) this.removeSelectOption(fieldObj[0], values[i]);
|
||
// set the selected item automatically to the first of the remaining items
|
||
selectedValue = fieldObj[0].options[0].value;
|
||
selectedValue = fieldObj[0].value;
|
||
//selectedValue = fieldObj[0].options[0].value;
|
||
fieldObj[0].options[0].selected = true;
|
||
fieldObj[0].value = selectedValue;
|
||
this.updateUnique(fieldObj[0], objectId, formName, recordUid);
|
||
this.handleChangedField(fieldObj[0], objectId+'['+recordUid+']');
|
||
if (typeof this.data.unique[objectId].used.length != 'undefined') {
|