Project

General

Profile

Bug #32418 ยป jsfunc.inline.js.diff

Mathieu SANCHEZ, 2011-12-09 14:19

View differences:

t3lib/jsfunc.inline.js.new 2011-12-09 14:14:45.460986182 +0100
setUniqueElement: function(objectId, table, uid, type, elName) {
var recordUid = this.parseFormElementName('none', elName, 1, 1);
// alert(objectId+'/'+table+'/'+uid+'/'+recordUid);
this.setUnique(objectId, recordUid, uid);
this.setUnique(objectId, recordUid, uid, elName);
},
// this function is applied to a newly inserted record by AJAX
// it removes the used select items, that should be unique
setUnique: function(objectId, recordUid, selectedValue) {
setUnique: function(objectId, recordUid, selectedValue, elName) {
if (this.data.unique && this.data.unique[objectId]) {
var unique = this.data.unique[objectId];
    (1-1/1)