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