diff --git a/apps/spreadsheeteditor/main/app/view/SortOptionsDialog.js b/apps/spreadsheeteditor/main/app/view/SortOptionsDialog.js index 7fb804652..3dae5613c 100644 --- a/apps/spreadsheeteditor/main/app/view/SortOptionsDialog.js +++ b/apps/spreadsheeteditor/main/app/view/SortOptionsDialog.js @@ -48,7 +48,7 @@ define([ SSE.Views.SortOptionsDialog = Common.Views.AdvancedSettingsWindow.extend(_.extend({ options: { contentWidth: 230, - height: 225 + height: 200 }, initialize : function(options) { @@ -62,15 +62,15 @@ define([ '
', '', '', - '', '', - '', - '', - '', + // '', + // '', + // '', '', '
', + '', '
', '
', - '
', - '
', + // '
', + // '
', '', @@ -100,17 +100,16 @@ define([ render: function() { Common.Views.AdvancedSettingsWindow.prototype.render.call(this); - var me = this; this.chHeaders = new Common.UI.CheckBox({ el: $('#sort-options-chk-headers'), labelText: this.textHeaders }); - this.chCase = new Common.UI.CheckBox({ - el: $('#sort-options-chk-case'), - labelText: this.textCase - }); + // this.chCase = new Common.UI.CheckBox({ + // el: $('#sort-options-chk-case'), + // labelText: this.textCase + // }); this.radioTop = new Common.UI.RadioBox({ el: $('#sort-options-radio-row'), @@ -138,14 +137,14 @@ define([ _setDefaults: function (props) { if (props) { this.chHeaders.setValue(props.headers); - this.chCase.setValue(props.sensitive); + // this.chCase.setValue(props.sensitive); (props.sortcol || props.lockOrientation) ? this.radioTop.setValue(true) : this.radioLeft.setValue(true); this.radioLeft.setDisabled(props.lockOrientation); } }, getSettings: function () { - return {headers: this.radioTop.getValue() && (this.chHeaders.getValue()=='checked'), sensitive: this.chCase.getValue()=='checked', sortcol: this.radioTop.getValue(), lockHeaders: this.props.lockHeaders, lockOrientation: this.props.lockOrientation}; + return {headers: this.radioTop.getValue() && (this.chHeaders.getValue()=='checked'), /*sensitive: this.chCase.getValue()=='checked',*/ sortcol: this.radioTop.getValue(), lockHeaders: this.props.lockHeaders, lockOrientation: this.props.lockOrientation}; }, textTitle: 'Sort Options',