[DE mobile] Fixed for deploy version.

This commit is contained in:
Alexander Yuzhin 2017-01-31 14:37:42 +03:00
parent a343a7aa0a
commit 679ae6313b
4 changed files with 6 additions and 4 deletions

View file

@ -91,7 +91,7 @@ define([
onLaunch: function() { onLaunch: function() {
// Device detection // Device detection
var phone = isPhone(); var phone = isPhone();
console.debug('Layout profile:', phone ? 'Phone' : 'Tablet'); // console.debug('Layout profile:', phone ? 'Phone' : 'Tablet');
Common.SharedSettings.set('android', Framework7.prototype.device.android); Common.SharedSettings.set('android', Framework7.prototype.device.android);
Common.SharedSettings.set('phone', phone); Common.SharedSettings.set('phone', phone);

View file

@ -55,7 +55,7 @@ define([
_metricText = Common.Utils.Metric.getCurrentMetricName(), _metricText = Common.Utils.Metric.getCurrentMetricName(),
_tableObject = undefined, _tableObject = undefined,
_tableLook = {}, _tableLook = {},
_cellBorders = new Asc.CBorders(), _cellBorders = undefined,
_cellBorderColor = '000000', _cellBorderColor = '000000',
_cellBorderWidth = 0.5; _cellBorderWidth = 0.5;
@ -543,6 +543,8 @@ define([
if (me.api) { if (me.api) {
var properties = new Asc.CTableProp(); var properties = new Asc.CTableProp();
_cellBorders = _.isUndefined(_cellBorders) ? new Asc.CBorders() : _cellBorders;
properties.put_CellBorders(_cellBorders); properties.put_CellBorders(_cellBorders);
properties.put_CellSelect(true); properties.put_CellSelect(true);

View file

@ -91,7 +91,7 @@ define([
onLaunch: function() { onLaunch: function() {
// Device detection // Device detection
var phone = isPhone(); var phone = isPhone();
console.debug('Layout profile:', phone ? 'Phone' : 'Tablet'); // console.debug('Layout profile:', phone ? 'Phone' : 'Tablet');
Common.SharedSettings.set('android', Framework7.prototype.device.android); Common.SharedSettings.set('android', Framework7.prototype.device.android);
Common.SharedSettings.set('phone', phone); Common.SharedSettings.set('phone', phone);

View file

@ -90,7 +90,7 @@ define([
onLaunch: function() { onLaunch: function() {
// Device detection // Device detection
var phone = isPhone(); var phone = isPhone();
console.debug('Layout profile:', phone ? 'Phone' : 'Tablet'); // console.debug('Layout profile:', phone ? 'Phone' : 'Tablet');
Common.SharedSettings.set('android', Framework7.prototype.device.android); Common.SharedSettings.set('android', Framework7.prototype.device.android);
Common.SharedSettings.set('phone', phone); Common.SharedSettings.set('phone', phone);