Skip to content

Commit

Permalink
[BUGFIX] Two forgotten calls use inline action map
Browse files Browse the repository at this point in the history
Follow up for #84199 changing two call to use the
new map.

Resolves: #84210
Related: #84199
Releases: master
Change-Id: I1b251c5a759470ad97ca70bed2f5c0cb921f3159
Reviewed-on: https://review.typo3.org/56105
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
  • Loading branch information
lolli42 authored and liayn committed Mar 12, 2018
1 parent 72c3121 commit 1861b16
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -326,15 +326,15 @@ var inline = {
if (!this.data.unique || !this.data.unique[objectId]) {
$selector.find('option').eq(selectedIndex).prop('selected', false);
}
this.makeAjaxCall('create', [objectId, selectedValue], true, context);
this.makeAjaxCall(this.methodRequestMap.create, [objectId, selectedValue], true, context);
}
return false;
},

// foreign_selector: used by element browser (type='group/db')
importElement: function(objectId, table, uid) {
var context = this.getContext(objectId);
inline.makeAjaxCall('create', [objectId, uid], true, context);
inline.makeAjaxCall(this.methodRequestMap.create, [objectId, uid], true, context);
},

importElementMultiple: function(objectId, table, uidArray, type) {
Expand All @@ -343,7 +343,7 @@ var inline = {
});
},
delayedImportElement: function(objectId, table, uid, type) {
if (inline.lockedAjaxMethod['create'] == true) {
if (inline.lockedAjaxMethod[this.methodRequestMap.create] == true) {
window.setTimeout("inline.delayedImportElement('" + objectId + "','" + table + "'," + uid + ", null );",
300);
} else {
Expand Down

0 comments on commit 1861b16

Please sign in to comment.