[SSE] Use Asc.c_oAscBorderStyles class for border width
This commit is contained in:
parent
481064faf5
commit
b974e716f7
|
@ -485,7 +485,7 @@ define([
|
|||
iconCls : 'btn-border-out',
|
||||
icls : 'btn-border-out',
|
||||
borderId : 'outer',
|
||||
borderswidth: 'thin',
|
||||
borderswidth: Asc.c_oAscBorderStyles.Thin,
|
||||
lock : [_set.editCell, _set.selChart, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.lostConnect, _set.coAuth],
|
||||
split : true,
|
||||
menu : true
|
||||
|
|
|
@ -56,7 +56,7 @@ define([
|
|||
_cellInfo = undefined,
|
||||
_cellStyles = [],
|
||||
_fontInfo = {},
|
||||
_borderInfo = {color: '000000', width: 'medium'},
|
||||
_borderInfo = {color: '000000', width: Asc.c_oAscBorderStyles.Medium},
|
||||
_styleSize = {width: 100, height: 50},
|
||||
_isEdit = false;
|
||||
|
||||
|
@ -283,7 +283,7 @@ define([
|
|||
$('#edit-border-size .item-after').text($('#edit-border-size select option[value=' +_borderInfo.width + ']').text());
|
||||
|
||||
$('#edit-border-size select').single('change', function (e) {
|
||||
_borderInfo.width = $(e.currentTarget).val();
|
||||
_borderInfo.width = parseInt($(e.currentTarget).val());
|
||||
})
|
||||
},
|
||||
|
||||
|
|
|
@ -423,9 +423,9 @@
|
|||
<li>
|
||||
<a id="edit-border-size" class="item-link smart-select" data-back-on-select="true">
|
||||
<select name="cell-border-size">
|
||||
<option value="thin"><%= scope.textThin %></option>
|
||||
<option value="medium"><%= scope.textMedium %></option>
|
||||
<option value="thick"><%= scope.textThick %></option>
|
||||
<option value="<%= Asc.c_oAscBorderStyles.Thin %>"><%= scope.textThin %></option>
|
||||
<option value="<%= Asc.c_oAscBorderStyles.Medium %>"><%= scope.textMedium %></option>
|
||||
<option value="<%= Asc.c_oAscBorderStyles.Thick %>"><%= scope.textThick %></option>
|
||||
</select>
|
||||
<div class="item-content">
|
||||
<div class="item-inner">
|
||||
|
|
Loading…
Reference in a new issue