diff --git a/apps/documenteditor/main/app/view/SaveFormDlg.js b/apps/documenteditor/main/app/view/SaveFormDlg.js index cf91a950e..da40cc570 100644 --- a/apps/documenteditor/main/app/view/SaveFormDlg.js +++ b/apps/documenteditor/main/app/view/SaveFormDlg.js @@ -137,7 +137,7 @@ define([ 'common/main/lib/view/AdvancedSettingsWindow', name: role.asc_getName() || me.textAnyone, color: role.asc_getColor(), fields: fields, - index: i, + index: arr.length, scope: this }); }