diff --git a/apps/common/main/lib/view/OpenDialog.js b/apps/common/main/lib/view/OpenDialog.js index 750f2b4aa..47846abdb 100644 --- a/apps/common/main/lib/view/OpenDialog.js +++ b/apps/common/main/lib/view/OpenDialog.js @@ -292,7 +292,7 @@ define([ var decimal = this.separatorOptions ? this.separatorOptions.decimal : undefined, thousands = this.separatorOptions ? this.separatorOptions.thousands : undefined, - qualifier = this.separatorOptions ? this.separatorOptions.qualifier : undefined; + qualifier = this.separatorOptions ? this.separatorOptions.qualifier : '"'; var options = new Asc.asc_CTextOptions(encoding, delimiter, delimiterChar); decimal && options.asc_setNumberDecimalSeparator(decimal); thousands && options.asc_setNumberGroupSeparator(thousands); @@ -553,7 +553,7 @@ define([ me.separatorOptions = { decimal: (value.decimal.length > 0) ? value.decimal : decimal, thousands: (value.thousands.length > 0) ? value.thousands : thousands, - qualifier: (value.qualifier.length > 0) ? value.qualifier : qualifier + qualifier: value.qualifier }; } } diff --git a/apps/spreadsheeteditor/main/app/view/AdvancedSeparatorDialog.js b/apps/spreadsheeteditor/main/app/view/AdvancedSeparatorDialog.js index 7a4d41e53..0bf8e6a78 100644 --- a/apps/spreadsheeteditor/main/app/view/AdvancedSeparatorDialog.js +++ b/apps/spreadsheeteditor/main/app/view/AdvancedSeparatorDialog.js @@ -112,7 +112,7 @@ define([ }); var $window = this.getChild(); - $window.find('.btn').on('click', _.bind(this.onBtnClick, this)); + $window.find('.dlg-btn').on('click', _.bind(this.onBtnClick, this)); this.afterRender(); },