[DE mobile] Fixed for deploy version.
This commit is contained in:
parent
a343a7aa0a
commit
679ae6313b
|
@ -91,7 +91,7 @@ define([
|
|||
onLaunch: function() {
|
||||
// Device detection
|
||||
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('phone', phone);
|
||||
|
|
|
@ -55,7 +55,7 @@ define([
|
|||
_metricText = Common.Utils.Metric.getCurrentMetricName(),
|
||||
_tableObject = undefined,
|
||||
_tableLook = {},
|
||||
_cellBorders = new Asc.CBorders(),
|
||||
_cellBorders = undefined,
|
||||
_cellBorderColor = '000000',
|
||||
_cellBorderWidth = 0.5;
|
||||
|
||||
|
@ -543,6 +543,8 @@ define([
|
|||
|
||||
if (me.api) {
|
||||
var properties = new Asc.CTableProp();
|
||||
_cellBorders = _.isUndefined(_cellBorders) ? new Asc.CBorders() : _cellBorders;
|
||||
|
||||
properties.put_CellBorders(_cellBorders);
|
||||
properties.put_CellSelect(true);
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ define([
|
|||
onLaunch: function() {
|
||||
// Device detection
|
||||
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('phone', phone);
|
||||
|
|
|
@ -90,7 +90,7 @@ define([
|
|||
onLaunch: function() {
|
||||
// Device detection
|
||||
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('phone', phone);
|
||||
|
|
Loading…
Reference in a new issue