@@ -1026,7 +1026,7 @@ Item {
1028 function load(modelData, context) {
1028 function load(modelData, context) {
1029− if (context.indexOf("fake-") == 0)
1029+ if (context && context.indexOf("fake-") == 0)
1030 context = context.substring("fake-".length)
1030 context = context.substring("fake-".length)
1032 if (modelData.action !== undefined && modelData.action !== "") {
1032 if (modelData.action !== undefined && modelData.action !== "") {