Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,8 @@ class SearchController extends AdminController
* @return JsonResponse
*
* @todo: $conditionTypeParts could be undefined
*
* @todo: $conditionSubtypeParts could be undefined
*
* @todo: $conditionClassnameParts could be undefined
*
* @todo: $data could be undefined
*/
public function findAction(Request $request, EventDispatcherInterface $eventDispatcher, GridHelperService $gridHelperService)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,10 @@ pimcore.object.helpers.edit = {
try {
var el = this.getEl();
if(!el.hasCls("object_field")) {
el = el.parent(".object_field");
var parentEl = el.parent(".object_field");
if(parentEl !== null && parentEl !== undefined){
el = parentEl;
}
}
} catch (e4) {
console.log(e4);
Expand Down