commit
42b903f3ec
|
@ -358,6 +358,9 @@ define([
|
|||
Common.NotificationCenter.trigger('menu:hide', this, isFromInputControl);
|
||||
if (this.options.takeFocusOnClose) {
|
||||
var me = this;
|
||||
(me._input && !me.editable) && (me._input[0].selectionStart===me._input[0].selectionEnd) && setTimeout(function() {
|
||||
me._input[0].selectionStart = me._input[0].selectionEnd = 0;
|
||||
},1);
|
||||
setTimeout(function(){me.focus();}, 1);
|
||||
}
|
||||
},
|
||||
|
|
|
@ -179,8 +179,8 @@ define([ 'text!presentationeditor/main/app/template/ChartSettingsAdvanced.tem
|
|||
this.cmbFromX = new Common.UI.ComboBox({
|
||||
el: $('#chart-advanced-combo-from-x'),
|
||||
cls: 'input-group-nr',
|
||||
style: "width: 115px;",
|
||||
menuStyle: 'min-width: 115px;',
|
||||
style: "width: 125px;",
|
||||
menuStyle: 'min-width: 125px;',
|
||||
data: [
|
||||
{ value: 'left', displayValue: this.textTopLeftCorner },
|
||||
{ value: 'center', displayValue: this.textCenter }
|
||||
|
@ -192,8 +192,8 @@ define([ 'text!presentationeditor/main/app/template/ChartSettingsAdvanced.tem
|
|||
this.cmbFromY = new Common.UI.ComboBox({
|
||||
el: $('#chart-advanced-combo-from-y'),
|
||||
cls: 'input-group-nr',
|
||||
style: "width: 115px;",
|
||||
menuStyle: 'min-width: 115px;',
|
||||
style: "width: 125px;",
|
||||
menuStyle: 'min-width: 125px;',
|
||||
data: [
|
||||
{ value: 'left', displayValue: this.textTopLeftCorner },
|
||||
{ value: 'center', displayValue: this.textCenter }
|
||||
|
|
|
@ -182,8 +182,8 @@ define([ 'text!presentationeditor/main/app/template/ImageSettingsAdvanced.tem
|
|||
this.cmbFromX = new Common.UI.ComboBox({
|
||||
el: $('#image-advanced-combo-from-x'),
|
||||
cls: 'input-group-nr',
|
||||
style: "width: 115px;",
|
||||
menuStyle: 'min-width: 115px;',
|
||||
style: "width: 125px;",
|
||||
menuStyle: 'min-width: 125px;',
|
||||
data: [
|
||||
{ value: 'left', displayValue: this.textTopLeftCorner },
|
||||
{ value: 'center', displayValue: this.textCenter }
|
||||
|
@ -195,8 +195,8 @@ define([ 'text!presentationeditor/main/app/template/ImageSettingsAdvanced.tem
|
|||
this.cmbFromY = new Common.UI.ComboBox({
|
||||
el: $('#image-advanced-combo-from-y'),
|
||||
cls: 'input-group-nr',
|
||||
style: "width: 115px;",
|
||||
menuStyle: 'min-width: 115px;',
|
||||
style: "width: 125px;",
|
||||
menuStyle: 'min-width: 125px;',
|
||||
data: [
|
||||
{ value: 'left', displayValue: this.textTopLeftCorner },
|
||||
{ value: 'center', displayValue: this.textCenter }
|
||||
|
|
|
@ -187,8 +187,8 @@ define([ 'text!presentationeditor/main/app/template/ShapeSettingsAdvanced.tem
|
|||
this.cmbFromX = new Common.UI.ComboBox({
|
||||
el: $('#shape-advanced-combo-from-x'),
|
||||
cls: 'input-group-nr',
|
||||
style: "width: 115px;",
|
||||
menuStyle: 'min-width: 115px;',
|
||||
style: "width: 125px;",
|
||||
menuStyle: 'min-width: 125px;',
|
||||
data: [
|
||||
{ value: 'left', displayValue: this.textTopLeftCorner },
|
||||
{ value: 'center', displayValue: this.textCenter }
|
||||
|
@ -200,8 +200,8 @@ define([ 'text!presentationeditor/main/app/template/ShapeSettingsAdvanced.tem
|
|||
this.cmbFromY = new Common.UI.ComboBox({
|
||||
el: $('#shape-advanced-combo-from-y'),
|
||||
cls: 'input-group-nr',
|
||||
style: "width: 115px;",
|
||||
menuStyle: 'min-width: 115px;',
|
||||
style: "width: 125px;",
|
||||
menuStyle: 'min-width: 125px;',
|
||||
data: [
|
||||
{ value: 'left', displayValue: this.textTopLeftCorner },
|
||||
{ value: 'center', displayValue: this.textCenter }
|
||||
|
|
|
@ -184,8 +184,8 @@ define([ 'text!presentationeditor/main/app/template/TableSettingsAdvanced.tem
|
|||
this.cmbFromX = new Common.UI.ComboBox({
|
||||
el: $('#tableadv-combo-from-x'),
|
||||
cls: 'input-group-nr',
|
||||
style: "width: 115px;",
|
||||
menuStyle: 'min-width: 115px;',
|
||||
style: "width: 125px;",
|
||||
menuStyle: 'min-width: 125px;',
|
||||
data: [
|
||||
{ value: 'left', displayValue: this.textTopLeftCorner },
|
||||
{ value: 'center', displayValue: this.textCenter }
|
||||
|
@ -197,8 +197,8 @@ define([ 'text!presentationeditor/main/app/template/TableSettingsAdvanced.tem
|
|||
this.cmbFromY = new Common.UI.ComboBox({
|
||||
el: $('#tableadv-combo-from-y'),
|
||||
cls: 'input-group-nr',
|
||||
style: "width: 115px;",
|
||||
menuStyle: 'min-width: 115px;',
|
||||
style: "width: 125px;",
|
||||
menuStyle: 'min-width: 125px;',
|
||||
data: [
|
||||
{ value: 'left', displayValue: this.textTopLeftCorner },
|
||||
{ value: 'center', displayValue: this.textCenter }
|
||||
|
|
Loading…
Reference in a new issue