[DE] debug

This commit is contained in:
Maxim Kadushkin 2017-04-20 13:32:55 +03:00
parent 0875b47bab
commit 5821be5388
6 changed files with 8 additions and 15 deletions

View file

@ -1406,10 +1406,7 @@ define([
if (isModified) {
if (!_.isUndefined(title) && (!this._state.fastCoauth || this._state.usersCount<2 )) {
title = '* ' + title;
headerView.setDocumentChanged(true);
}
} else {
headerView.setDocumentChanged(false);
}
if (window.document.title != title)

View file

@ -7,7 +7,7 @@
</a>
<ul>
<% for(var i in tabs) { %>
<li class="rib-tab">
<li class="ribtab<% if (tabs[i].extcls) print(' ' + tabs[i].extcls) %>">
<a data-tab="<%= tabs[i].action %>" data-title="<%= tabs[i].caption %>"><%= tabs[i].caption %></a>
</li>
<% } %>
@ -21,7 +21,7 @@
</div>
</div>
<section class="box-controls">
<section class="panel">
<section class="panel static">
<div class="group no-mask">
<div class="elset">
<span class="btn-slot" id="slot-btn-print"></span>

View file

@ -1343,7 +1343,7 @@ define([
$boxTabs = me.$el.find('.tabs > ul');
$tabs = $boxTabs.find('> li');
$panels = me.$el.find('.box-panels > .panel');
$tabs.parent().on('click', '.rib-tab', function (e) {
$tabs.parent().on('click', '.ribtab', function (e) {
var tab = $(e.target).data('tab');
if (tab == 'file') {
me.fireEvent('file:open');
@ -2484,7 +2484,7 @@ define([
return config.tabs[index].action;
}
var _tplTab = '<li class="rib-tab"><a href="#" data-tab="<%= action %>" data-title="<%= caption %>"><%= caption %></a></li>';
var _tplTab = '<li class="ribtab"><a href="#" data-tab="<%= action %>" data-title="<%= caption %>"><%= caption %></a></li>';
config.tabs[after + 1] = tab;
var _after_action = _get_tab_action( after );

View file

@ -1,11 +1,5 @@
#file-menu-panel {
height: auto;
top: @height-tabs;
bottom: 0;
left: 0;
padding: 0;
> div {
height: 100%;
}

View file

@ -231,7 +231,9 @@
}
.lang-flag {
background-position: -16px -1608px;
&:not(.dasble) {
background-position: -16px -108px;
}
&.ca, &.ca-ES {background-position: 0 0;}
&.cs, &.cs-CZ {background-position: -16px 0;}

View file

@ -12,7 +12,7 @@
button.disabled .icon:not(.no-mask) {
background-position-x: 0px !important;
}
.toolbar-group:not(.no-mask) {
.group:not(.no-mask) {
opacity: 0.4;
}
}