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