[PE mobile] Fix bug with layout name.

This commit is contained in:
Julia Radzhabova 2017-03-31 18:44:19 +03:00
parent f07f5d1f03
commit 40a1ccca21

View file

@ -103,7 +103,7 @@ define([
var name = layout.get_Name();
_layouts.push({
imageUrl : layout.get_Image(),
title : (name !== '') ? name : me.layoutNames[layout.getType()],
title : (name !== '') ? name : PE.getController('Main').layoutNames[layout.getType()],
itemWidth : layout.get_Width(),
itemHeight : layout.get_Height(),
idx : layout.getIndex()