[DE] locked action for 'status' label

This commit is contained in:
Maxim Kadushkin 2017-04-06 12:42:10 +03:00
parent c1c6ce3061
commit 360cca6601
2 changed files with 5 additions and 5 deletions

View file

@ -71,7 +71,7 @@ define([
var templateRightBox = '<section>' +
'<label id="rib-doc-name" class="status-label"></label>' +
'<a href="#" id="rib-save-status" class="status-label">All changes saved</a>' +
'<a href="#" id="rib-save-status" class="status-label locked">All changes saved</a>' +
'<div class="elset">' +
// '<span class="btn-slot text" id="slot-btn-users"></span>' +
'<section id="tlb-box-users" class="box-cousers dropdown"">' +
@ -241,9 +241,9 @@ define([
$saveStatus.attr('data-width', this.textSaveExpander);
if ( appConfig.canUseHistory ) {
$saveStatus.on('click', function(e) {
me.fireEvent('history:show', ['header']);
});
// $saveStatus.on('click', function(e) {
// me.fireEvent('history:show', ['header']);
// });
} else {
$saveStatus.addClass('locked');
}

View file

@ -87,7 +87,7 @@
#rib-save-status {
&.locked {
text-decoration: none;
color: @gray-deep;
color: @gray-darker;
cursor: default;
}