' +
'
' +
@@ -273,17 +271,6 @@ define([
$panelUsers[(editingUsers > 1 || editingUsers > 0 && !appConfig.isEdit && !appConfig.isRestrictedEdit || !mode.isOffline && (mode.sharingSettingsUrl && mode.sharingSettingsUrl.length || mode.canRequestSharingSettings)) ? 'show' : 'hide']();
}
- if ( $saveStatus ) {
- $saveStatus.attr('data-width', me.textSaveExpander);
- if (appConfig.canUseHistory) {
- // $saveStatus.on('click', function(e) {
- // me.fireEvent('history:show', ['header']);
- // });
- } else {
- $saveStatus.addClass('locked');
- }
- }
-
if ( me.btnPrint ) {
me.btnPrint.updateHint(me.tipPrint + Common.Utils.String.platformKey('Ctrl+P'));
me.btnPrint.on('click', function (e) {
@@ -456,8 +443,7 @@ define([
if ( role == 'right' ) {
var $html = $(_.template(templateRightBox)({
tipUsers: this.labelCoUsersDescr,
- txtAccessRights: this.txtAccessRights,
- textSaveEnd: this.textSaveEnd
+ txtAccessRights: this.txtAccessRights
}));
if ( !me.labelDocName ) {
@@ -473,10 +459,6 @@ define([
this.setCanRename(this.options.canRename);
}
- // $saveStatus = $html.find('#rib-save-status');
- $html.find('#rib-save-status').hide();
- // if ( config.isOffline ) $saveStatus = false;
-
if ( this.options.canBack === true ) {
me.btnGoBack.render($html.find('#slot-btn-back'));
} else {
@@ -635,21 +617,6 @@ define([
}
},
- setSaveStatus: function (status) {
- if ( $saveStatus ) {
- if ( $saveStatus.is(':hidden') ) $saveStatus.show();
-
- var _text;
- switch ( status ) {
- case 'begin': _text = this.textSaveBegin; break;
- case 'changed': _text = this.textSaveChanged; break;
- default: _text = this.textSaveEnd;
- }
-
- $saveStatus.text( _text );
- }
- },
-
setUserName: function(name) {
if ( !!this.labelUserName ) {
if ( !!name ) {
@@ -707,10 +674,6 @@ define([
textBack: 'Go to Documents',
txtRename: 'Rename',
- textSaveBegin: 'Saving...',
- textSaveEnd: 'All changes saved',
- textSaveChanged: 'Modified',
- textSaveExpander: 'All changes saved',
txtAccessRights: 'Change access rights',
tipAccessRights: 'Manage document access rights',
labelCoUsersDescr: 'Document is currently being edited by several users.',
diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json
index 1ee904278..e9c13aa9c 100644
--- a/apps/documenteditor/main/locale/en.json
+++ b/apps/documenteditor/main/locale/en.json
@@ -206,10 +206,10 @@
"Common.Views.Header.textCompactView": "Hide Toolbar",
"Common.Views.Header.textHideLines": "Hide Rulers",
"Common.Views.Header.textHideStatusBar": "Hide Status Bar",
- "Common.Views.Header.textSaveBegin": "Saving...",
- "Common.Views.Header.textSaveChanged": "Modified",
- "Common.Views.Header.textSaveEnd": "All changes saved",
- "Common.Views.Header.textSaveExpander": "All changes saved",
+ "del_Common.Views.Header.textSaveBegin": "Saving...",
+ "del_Common.Views.Header.textSaveChanged": "Modified",
+ "del_Common.Views.Header.textSaveEnd": "All changes saved",
+ "del_Common.Views.Header.textSaveExpander": "All changes saved",
"Common.Views.Header.textZoom": "Zoom",
"Common.Views.Header.tipAccessRights": "Manage document access rights",
"Common.Views.Header.tipDownload": "Download file",