Commit b7b2eea3 authored by Alexander Yuzhin's avatar Alexander Yuzhin

[DE mobile] Apply table style on add.

parent 4ea3b3dd
......@@ -84,7 +84,8 @@ define([
onStyleClick: function (e) {
var me = this,
$target = $(e.currentTarget);
$target = $(e.currentTarget),
type = $target.data('type');
DE.getController('AddContainer').hideModal();
......@@ -114,7 +115,11 @@ define([
if (me.api) {
me.api.put_Table(parseInt(size[0]), parseInt(size[1]));
//TODO: Style ?
var properties = new Asc.CTableProp();
properties.put_TableStyle(type);
me.api.tblApply(properties);
}
}
}
......
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