[SSE] Изменен заголовок окна для смены диапазона таблицы.

This commit is contained in:
Julia Radzhabova 2016-04-07 14:17:47 +03:00
parent 0484c1407a
commit 584290c70b
2 changed files with 5 additions and 2 deletions

View file

@ -95,6 +95,8 @@ define([
me.cbTitle.setValue(options.asc_getIsTitle());
me.api.asc_setSelectionDialogMode(c_oAscSelectionDialogType.FormatTable, options.asc_getRange());
}
if (settings.title)
me.setTitle(settings.title);
me.api.asc_unregisterCallback('asc_onSelectionRangeChanged', _.bind(me.onApiRangeChanged, me));
me.api.asc_registerCallback('asc_onSelectionRangeChanged', _.bind(me.onApiRangeChanged, me));
@ -174,7 +176,7 @@ define([
// },
txtTitle : 'Title',
txtFormat : 'Format as table',
txtFormat : 'Create table',
textCancel : 'Cancel',
txtEmpty : 'This field is required',
txtInvalidRange: 'ERROR! Invalid cells range',

View file

@ -399,7 +399,8 @@ define([
win.show();
win.setSettings({
api : me.api,
range : me._state.Range
range : me._state.Range,
title: me.textResize
});
}
},