mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merged [47060].
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60486 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
af60007c9b
commit
fc52af2668
@ -23,7 +23,7 @@ ComplexTableField.prototype = {
|
|||||||
}.bind(this)
|
}.bind(this)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Behaviour.register('ComplexTableField',rules);
|
Behaviour.register('ComplexTableField_'+this.id,rules);
|
||||||
|
|
||||||
// HACK If already in a popup, we can't allow add (doesn't save existing relation correctly)
|
// HACK If already in a popup, we can't allow add (doesn't save existing relation correctly)
|
||||||
if(window != top) $$('#'+this.id+' table.data a.addlink').each(function(el) {Element.hide(el);});
|
if(window != top) $$('#'+this.id+' table.data a.addlink').each(function(el) {Element.hide(el);});
|
||||||
|
@ -37,7 +37,7 @@ Object.extend(TableField.prototype,{
|
|||||||
onclick: this.addRow.bind(this)
|
onclick: this.addRow.bind(this)
|
||||||
};
|
};
|
||||||
|
|
||||||
Behaviour.register('TableField',rules);
|
Behaviour.register('TableField_'+this.id,rules);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -64,7 +64,7 @@ TableListField.prototype = {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
Behaviour.register('TableListField',rules);
|
Behaviour.register('TableListField_'+this.id,rules);
|
||||||
if(summaryCols) {
|
if(summaryCols) {
|
||||||
//this._getSummaryDefs(summaryCols);
|
//this._getSummaryDefs(summaryCols);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user