[SSE PE] for bug 53723
This commit is contained in:
parent
e3e0b19b69
commit
6bd108dd3a
|
@ -417,6 +417,33 @@ define([
|
||||||
}
|
}
|
||||||
|
|
||||||
this.miHistory[this.mode.canUseHistory&&!this.mode.isDisconnected?'show':'hide']();
|
this.miHistory[this.mode.canUseHistory&&!this.mode.isDisconnected?'show':'hide']();
|
||||||
|
|
||||||
|
if ( Common.Controllers.Desktop.isActive() ) {
|
||||||
|
$('<li id="fm-btn-local-open" class="fm-btn"/>').insertAfter($('#fm-btn-recent', this.$el));
|
||||||
|
this.items.push(
|
||||||
|
new Common.UI.MenuItem({
|
||||||
|
el : $('#fm-btn-local-open', this.$el),
|
||||||
|
action : 'file:open',
|
||||||
|
caption : this.btnFileOpenCaption,
|
||||||
|
canFocused: false,
|
||||||
|
dataHint: 1,
|
||||||
|
dataHintDirection: 'left-top',
|
||||||
|
dataHintOffset: [2, 14]
|
||||||
|
}));
|
||||||
|
|
||||||
|
$('<li class="devider" />' +
|
||||||
|
'<li id="fm-btn-exit" class="fm-btn"/>').insertAfter($('#fm-btn-back', this.$el));
|
||||||
|
this.items.push(
|
||||||
|
new Common.UI.MenuItem({
|
||||||
|
el : $('#fm-btn-exit', this.$el),
|
||||||
|
action : 'file:exit',
|
||||||
|
caption : this.btnExitCaption,
|
||||||
|
canFocused: false,
|
||||||
|
dataHint: 1,
|
||||||
|
dataHintDirection: 'left-top',
|
||||||
|
dataHintOffset: [2, 14]
|
||||||
|
}));
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
setMode: function(mode, delay) {
|
setMode: function(mode, delay) {
|
||||||
|
@ -563,6 +590,8 @@ define([
|
||||||
btnCloseMenuCaption : 'Close Menu',
|
btnCloseMenuCaption : 'Close Menu',
|
||||||
btnProtectCaption: 'Protect',
|
btnProtectCaption: 'Protect',
|
||||||
btnSaveCopyAsCaption : 'Save Copy as...',
|
btnSaveCopyAsCaption : 'Save Copy as...',
|
||||||
btnHistoryCaption : 'Versions History'
|
btnHistoryCaption : 'Versions History',
|
||||||
|
btnExitCaption : 'Exit',
|
||||||
|
btnFileOpenCaption : 'Open...'
|
||||||
}, PE.Views.FileMenu || {}));
|
}, PE.Views.FileMenu || {}));
|
||||||
});
|
});
|
||||||
|
|
|
@ -1314,6 +1314,8 @@
|
||||||
"PE.Views.FileMenu.btnSaveCopyAsCaption": "Save Copy as...",
|
"PE.Views.FileMenu.btnSaveCopyAsCaption": "Save Copy as...",
|
||||||
"PE.Views.FileMenu.btnSettingsCaption": "Advanced Settings...",
|
"PE.Views.FileMenu.btnSettingsCaption": "Advanced Settings...",
|
||||||
"PE.Views.FileMenu.btnToEditCaption": "Edit Presentation",
|
"PE.Views.FileMenu.btnToEditCaption": "Edit Presentation",
|
||||||
|
"PE.Views.FileMenu.btnExitCaption": "Exit",
|
||||||
|
"PE.Views.FileMenu.btnFileOpenCaption": "Open...",
|
||||||
"PE.Views.FileMenuPanels.CreateNew.txtBlank": "Blank Presentation",
|
"PE.Views.FileMenuPanels.CreateNew.txtBlank": "Blank Presentation",
|
||||||
"PE.Views.FileMenuPanels.CreateNew.txtCreateNew": "Create New",
|
"PE.Views.FileMenuPanels.CreateNew.txtCreateNew": "Create New",
|
||||||
"PE.Views.FileMenuPanels.DocumentInfo.okButtonText": "Apply",
|
"PE.Views.FileMenuPanels.DocumentInfo.okButtonText": "Apply",
|
||||||
|
|
|
@ -408,6 +408,33 @@ define([
|
||||||
this.panels['opts'].SetDisabled(this.mode.disableEditing);
|
this.panels['opts'].SetDisabled(this.mode.disableEditing);
|
||||||
delete this.mode.disableEditing;
|
delete this.mode.disableEditing;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( Common.Controllers.Desktop.isActive() ) {
|
||||||
|
$('<li id="fm-btn-local-open" class="fm-btn"/>').insertAfter($('#fm-btn-recent', this.$el));
|
||||||
|
this.items.push(
|
||||||
|
new Common.UI.MenuItem({
|
||||||
|
el : $('#fm-btn-local-open', this.$el),
|
||||||
|
action : 'file:open',
|
||||||
|
caption : this.btnFileOpenCaption,
|
||||||
|
canFocused: false,
|
||||||
|
dataHint: 1,
|
||||||
|
dataHintDirection: 'left-top',
|
||||||
|
dataHintOffset: [2, 14]
|
||||||
|
}));
|
||||||
|
|
||||||
|
$('<li class="devider" />' +
|
||||||
|
'<li id="fm-btn-exit" class="fm-btn"/>').insertAfter($('#fm-btn-back', this.$el));
|
||||||
|
this.items.push(
|
||||||
|
new Common.UI.MenuItem({
|
||||||
|
el : $('#fm-btn-exit', this.$el),
|
||||||
|
action : 'file:exit',
|
||||||
|
caption : this.btnExitCaption,
|
||||||
|
canFocused: false,
|
||||||
|
dataHint: 1,
|
||||||
|
dataHintDirection: 'left-top',
|
||||||
|
dataHintOffset: [2, 14]
|
||||||
|
}));
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
setMode: function(mode, delay) {
|
setMode: function(mode, delay) {
|
||||||
|
@ -539,6 +566,8 @@ define([
|
||||||
btnCloseMenuCaption : 'Close Menu',
|
btnCloseMenuCaption : 'Close Menu',
|
||||||
btnProtectCaption: 'Protect',
|
btnProtectCaption: 'Protect',
|
||||||
btnSaveCopyAsCaption : 'Save Copy as...',
|
btnSaveCopyAsCaption : 'Save Copy as...',
|
||||||
btnHistoryCaption : 'Versions History'
|
btnHistoryCaption : 'Versions History',
|
||||||
|
btnExitCaption : 'Exit',
|
||||||
|
btnFileOpenCaption : 'Open...'
|
||||||
}, SSE.Views.FileMenu || {}));
|
}, SSE.Views.FileMenu || {}));
|
||||||
});
|
});
|
||||||
|
|
|
@ -2009,6 +2009,8 @@
|
||||||
"SSE.Views.FileMenu.btnSaveCopyAsCaption": "Save Copy as...",
|
"SSE.Views.FileMenu.btnSaveCopyAsCaption": "Save Copy as...",
|
||||||
"SSE.Views.FileMenu.btnSettingsCaption": "Advanced Settings...",
|
"SSE.Views.FileMenu.btnSettingsCaption": "Advanced Settings...",
|
||||||
"SSE.Views.FileMenu.btnToEditCaption": "Edit Spreadsheet",
|
"SSE.Views.FileMenu.btnToEditCaption": "Edit Spreadsheet",
|
||||||
|
"SSE.Views.FileMenu.btnExitCaption": "Exit",
|
||||||
|
"SSE.Views.FileMenu.btnFileOpenCaption": "Open...",
|
||||||
"SSE.Views.FileMenuPanels.CreateNew.txtBlank": "Blank Spreadsheet",
|
"SSE.Views.FileMenuPanels.CreateNew.txtBlank": "Blank Spreadsheet",
|
||||||
"SSE.Views.FileMenuPanels.CreateNew.txtCreateNew": "Create New",
|
"SSE.Views.FileMenuPanels.CreateNew.txtCreateNew": "Create New",
|
||||||
"SSE.Views.FileMenuPanels.DocumentInfo.okButtonText": "Apply",
|
"SSE.Views.FileMenuPanels.DocumentInfo.okButtonText": "Apply",
|
||||||
|
|
Loading…
Reference in a new issue