From 1861b16d0ace9b79d6460d10bccaf7d418464e00 Mon Sep 17 00:00:00 2001 From: Christian Kuhn Date: Mon, 12 Mar 2018 11:52:22 +0100 Subject: [PATCH] [BUGFIX] Two forgotten calls use inline action map 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 Tested-by: Andreas Fernandez Tested-by: TYPO3com Reviewed-by: Markus Klein Tested-by: Markus Klein --- .../backend/Resources/Public/JavaScript/jsfunc.inline.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.inline.js b/typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.inline.js index 8500e8ac6237..e44975d43f21 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.inline.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.inline.js @@ -326,7 +326,7 @@ 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; }, @@ -334,7 +334,7 @@ var inline = { // 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) { @@ -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 {