[DE][PE] Change title for split cell dialog.
This commit is contained in:
parent
6899a941ca
commit
5e2ef96d8a
|
@ -51,7 +51,8 @@ define([
|
|||
height: 170,
|
||||
header: false,
|
||||
style: 'min-width: 230px;',
|
||||
cls: 'modal-dlg'
|
||||
cls: 'modal-dlg',
|
||||
split: false
|
||||
},
|
||||
|
||||
initialize : function(options) {
|
||||
|
@ -59,7 +60,7 @@ define([
|
|||
|
||||
this.template = [
|
||||
'<div class="box">',
|
||||
'<h4>' + this.txtTitle + '</h4>',
|
||||
'<h4>' + ((options.split) ? this.txtTitleSplit : this.txtTitle) + '</h4>',
|
||||
'<div class="input-row" style="margin: 10px 0;">',
|
||||
'<label class="text columns-text" style="width: 130px;">' + this.txtColumns + '</label><div class="columns-val" style="float: right;"></div>',
|
||||
'</div>',
|
||||
|
@ -132,7 +133,8 @@ define([
|
|||
return false;
|
||||
},
|
||||
|
||||
txtTitle: 'Table size',
|
||||
txtTitle: 'Table Size',
|
||||
txtTitleSplit: 'Split Cell',
|
||||
txtColumns: 'Number of Columns',
|
||||
txtRows: 'Number of Rows',
|
||||
textInvalidRowsCols: 'You need to specify valid rows and columns count.',
|
||||
|
|
|
@ -2308,6 +2308,7 @@ define([
|
|||
}).on('click', function(item) {
|
||||
if (me.api){
|
||||
(new Common.Views.InsertTableDialog({
|
||||
split: true,
|
||||
handler: function(result, value) {
|
||||
if (result == 'ok') {
|
||||
if (me.api) {
|
||||
|
|
|
@ -237,6 +237,7 @@ define([
|
|||
splitCells: function(menu, item, e) {
|
||||
var me = this;
|
||||
(new Common.Views.InsertTableDialog({
|
||||
split: true,
|
||||
handler: function(result, value) {
|
||||
if (result == 'ok') {
|
||||
if (me.api) {
|
||||
|
|
|
@ -172,6 +172,7 @@
|
|||
"Common.Views.InsertTableDialog.txtMinText": "The minimum value for this field is {0}.",
|
||||
"Common.Views.InsertTableDialog.txtRows": "Number of Rows",
|
||||
"Common.Views.InsertTableDialog.txtTitle": "Table Size",
|
||||
"Common.Views.InsertTableDialog.txtTitleSplit": "Split Cell",
|
||||
"Common.Views.LanguageDialog.btnCancel": "Cancel",
|
||||
"Common.Views.LanguageDialog.btnOk": "Ok",
|
||||
"Common.Views.LanguageDialog.labelSelect": "Select document language",
|
||||
|
|
|
@ -1915,6 +1915,7 @@ define([
|
|||
}).on('click', function(item) {
|
||||
if (me.api) {
|
||||
(new Common.Views.InsertTableDialog({
|
||||
split: true,
|
||||
handler: function(result, value) {
|
||||
if (result == 'ok') {
|
||||
if (me.api) {
|
||||
|
|
|
@ -203,6 +203,7 @@ define([
|
|||
splitCells: function(menu, item, e) {
|
||||
var me = this;
|
||||
(new Common.Views.InsertTableDialog({
|
||||
split: true,
|
||||
handler: function(result, value) {
|
||||
if (result == 'ok') {
|
||||
if (me.api) {
|
||||
|
|
|
@ -105,6 +105,7 @@
|
|||
"Common.Views.InsertTableDialog.txtMinText": "The minimum value for this field is {0}.",
|
||||
"Common.Views.InsertTableDialog.txtRows": "Number of Rows",
|
||||
"Common.Views.InsertTableDialog.txtTitle": "Table Size",
|
||||
"Common.Views.InsertTableDialog.txtTitleSplit": "Split Cell",
|
||||
"Common.Views.LanguageDialog.btnCancel": "Cancel",
|
||||
"Common.Views.LanguageDialog.btnOk": "Ok",
|
||||
"Common.Views.LanguageDialog.labelSelect": "Select document language",
|
||||
|
|
Loading…
Reference in a new issue