diff --git a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js index 279e8639d..64ce194ca 100644 --- a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js +++ b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js @@ -513,9 +513,7 @@ define([ items = []; while (++i < wc) { - if (!this.api.asc_isWorksheetHidden(i)) { - items.push(me.api.asc_getWorksheetName(i)); - } + items.push({name: me.api.asc_getWorksheetName(i), hidden: me.api.asc_isWorksheetHidden(i)}); } var handlerDlg = function(dlg, result) { diff --git a/apps/spreadsheeteditor/main/app/controller/Toolbar.js b/apps/spreadsheeteditor/main/app/controller/Toolbar.js index c4ac68a49..da6f0cf76 100644 --- a/apps/spreadsheeteditor/main/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Toolbar.js @@ -880,9 +880,7 @@ define([ items = []; while (++i < wc) { - if (!this.api.asc_isWorksheetHidden(i)) { - items.push(me.api.asc_getWorksheetName(i)); - } + items.push({name: me.api.asc_getWorksheetName(i), hidden: me.api.asc_isWorksheetHidden(i)}); } var handlerDlg = function(dlg, result) { diff --git a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js index 508909191..5b3817b2e 100644 --- a/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js +++ b/apps/spreadsheeteditor/main/app/view/HyperlinkSettingsDialog.js @@ -64,7 +64,7 @@ define([ }, options || {}); this.template = [ - '
', + '
', '
', '', '', @@ -76,11 +76,14 @@ define([ '', '
', '', '
', '', @@ -349,8 +352,8 @@ define([ hasSubItems: true })); for (var i=0; i