Commit 3fa47187 authored by Alexander Yuzhin's avatar Alexander Yuzhin

[mobile] Fix bug 34131

parent 69cc0bda
...@@ -86,10 +86,13 @@ define([ ...@@ -86,10 +86,13 @@ define([
// Render layout // Render layout
render: function () { render: function () {
var shapes = Common.SharedSettings.get('shapes').slice();
shapes.splice(0, 1); // Remove line shapes
this.layout = $('<div/>').append(this.template({ this.layout = $('<div/>').append(this.template({
android : Common.SharedSettings.get('android'), android : Common.SharedSettings.get('android'),
phone : Common.SharedSettings.get('phone'), phone : Common.SharedSettings.get('phone'),
shapes : Common.SharedSettings.get('shapes'), shapes : shapes,
scope : this scope : this
})); }));
......
...@@ -86,10 +86,13 @@ define([ ...@@ -86,10 +86,13 @@ define([
// Render layout // Render layout
render: function () { render: function () {
var shapes = Common.SharedSettings.get('shapes').slice();
shapes.splice(0, 1); // Remove line shapes
this.layout = $('<div/>').append(this.template({ this.layout = $('<div/>').append(this.template({
android : Common.SharedSettings.get('android'), android : Common.SharedSettings.get('android'),
phone : Common.SharedSettings.get('phone'), phone : Common.SharedSettings.get('phone'),
shapes : Common.SharedSettings.get('shapes'), shapes : shapes,
scope : this scope : this
})); }));
......
...@@ -81,11 +81,14 @@ define([ ...@@ -81,11 +81,14 @@ define([
// Render layout // Render layout
render: function () { render: function () {
var shapes = Common.SharedSettings.get('shapes').slice();
shapes.splice(0, 1); // Remove line shapes
this.layout = $('<div/>').append(this.template({ this.layout = $('<div/>').append(this.template({
android : Common.SharedSettings.get('android'), android : Common.SharedSettings.get('android'),
phone : Common.SharedSettings.get('phone'), phone : Common.SharedSettings.get('phone'),
imgpath : '../../common/mobile/resources/img/shapes', imgpath : '../../common/mobile/resources/img/shapes',
shapes : Common.SharedSettings.get('shapes'), shapes : shapes,
scope : this scope : this
})); }));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment