[mobile] Fix bug 34131

This commit is contained in:
Alexander Yuzhin 2017-03-06 14:52:24 +03:00
parent 69cc0bda99
commit 3fa4718772
3 changed files with 12 additions and 3 deletions

View file

@ -86,10 +86,13 @@ define([
// Render layout
render: function () {
var shapes = Common.SharedSettings.get('shapes').slice();
shapes.splice(0, 1); // Remove line shapes
this.layout = $('<div/>').append(this.template({
android : Common.SharedSettings.get('android'),
phone : Common.SharedSettings.get('phone'),
shapes : Common.SharedSettings.get('shapes'),
shapes : shapes,
scope : this
}));

View file

@ -86,10 +86,13 @@ define([
// Render layout
render: function () {
var shapes = Common.SharedSettings.get('shapes').slice();
shapes.splice(0, 1); // Remove line shapes
this.layout = $('<div/>').append(this.template({
android : Common.SharedSettings.get('android'),
phone : Common.SharedSettings.get('phone'),
shapes : Common.SharedSettings.get('shapes'),
shapes : shapes,
scope : this
}));

View file

@ -81,11 +81,14 @@ define([
// Render layout
render: function () {
var shapes = Common.SharedSettings.get('shapes').slice();
shapes.splice(0, 1); // Remove line shapes
this.layout = $('<div/>').append(this.template({
android : Common.SharedSettings.get('android'),
phone : Common.SharedSettings.get('phone'),
imgpath : '../../common/mobile/resources/img/shapes',
shapes : Common.SharedSettings.get('shapes'),
shapes : shapes,
scope : this
}));