[DE mobile][PE mobile] Fix Bug 47077
This commit is contained in:
parent
ecd0e749c0
commit
7946d762a7
|
@ -123,12 +123,7 @@ define([
|
||||||
var size = picker.value;
|
var size = picker.value;
|
||||||
|
|
||||||
if (me.api) {
|
if (me.api) {
|
||||||
me.api.put_Table(parseInt(size[0]), parseInt(size[1]));
|
me.api.put_Table(parseInt(size[0]), parseInt(size[1]), type.toString());
|
||||||
|
|
||||||
var properties = new Asc.CTableProp();
|
|
||||||
properties.put_TableStyle(type);
|
|
||||||
|
|
||||||
me.api.tblApply(properties);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -598,7 +598,7 @@ define([
|
||||||
$('#edit-table-styles .table-styles div').removeClass('active');
|
$('#edit-table-styles .table-styles div').removeClass('active');
|
||||||
$target.addClass('active');
|
$target.addClass('active');
|
||||||
|
|
||||||
properties.put_TableStyle(type);
|
properties.put_TableStyle(type.toString());
|
||||||
me.api.tblApply(properties);
|
me.api.tblApply(properties);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -104,12 +104,7 @@ define([
|
||||||
var size = picker.value;
|
var size = picker.value;
|
||||||
|
|
||||||
if (me.api) {
|
if (me.api) {
|
||||||
me.api.put_Table(parseInt(size[0]), parseInt(size[1]));
|
me.api.put_Table(parseInt(size[0]), parseInt(size[1]), undefined, type.toString());
|
||||||
|
|
||||||
var properties = new Asc.CTableProp();
|
|
||||||
properties.put_TableStyle(type);
|
|
||||||
|
|
||||||
me.api.tblApply(properties);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -442,7 +442,7 @@ define([
|
||||||
$('#edit-table-styles .table-styles div').removeClass('active');
|
$('#edit-table-styles .table-styles div').removeClass('active');
|
||||||
$target.addClass('active');
|
$target.addClass('active');
|
||||||
|
|
||||||
properties.put_TableStyle(type);
|
properties.put_TableStyle(type.toString());
|
||||||
me.api.tblApply(properties);
|
me.api.tblApply(properties);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue