We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f60a47 + 72e4684 commit d7519e2Copy full SHA for d7519e2
src/Umbraco.Web.UI.Client/src/common/services/listviewhelper.service.js
@@ -572,13 +572,15 @@
572
* Method for opening an item in a list view for editing.
573
*
574
* @param {Object} item The item to edit
575
+ * @param {Object} scope The scope with options
576
*/
577
function editItem(item, scope) {
578
+
579
if (!item.editPath) {
580
return;
581
}
582
- if (scope.options.useInfiniteEditor)
583
+ if (scope && scope.options && scope.options.useInfiniteEditor)
584
{
585
var editorModel = {
586
id: item.id,
0 commit comments