Bug #21991 ยป typo3_hotfix_13294.patch
t3lib/jsfunc.inline.js 2010-01-19 11:21:55.000000000 +0100 | ||
---|---|---|
TBE_EDITOR.removeElementArray(removeStack);
|
||
}
|
||
// Mark this container as deleted (hotfix for bug #13294)
|
||
$(objectId+'_div') && $(objectId+'_div').addClassName('inlineIsDeletedRecord');
|
||
// If the record is new and was never saved before, just remove it from DOM:
|
||
if (this.isNewRecord(objectId) || options && options.forceDirectRemoval) {
|
||
this.fadeAndRemove(objectId+'_div');
|
||
-- typo3/jsfunc.tbe_editor.js 2010-01-14 10:58:53.000000000 +0100
|
||
++ typo3/jsfunc.tbe_editor.js 2010-01-19 11:22:26.000000000 +0100
|
||
... | ... | |
if (type) {
|
||
if (type == 'required') {
|
||
form = document[TBE_EDITOR.formname][elementName];
|
||
// Check if we are within a deleted inline element (hotfix for bug #13294)
|
||
var testNode = $(form.parentNode);
|
||
while(testNode) {
|
||
if (testNode.hasClassName && testNode.hasClassName('inlineIsDeletedRecord')) return result;
|
||
testNode = $(testNode.parentNode);
|
||
}
|
||
if (form) {
|
||
var value = form.value;
|
||
if (!value || elementData.additional && elementData.additional.isPositiveNumber && (isNaN(value) || Number(value) <= 0)) {
|