[mobile] Fix bug 34131
This commit is contained in:
parent
69cc0bda99
commit
3fa4718772
|
@ -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([
|
||||||
|
|
||||||
// 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([
|
||||||
|
|
||||||
// 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
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue