[SSE Mobile] debug Functions page

This commit is contained in:
Maxim Kadushkin 2016-12-21 17:27:35 +03:00
parent 528ff8eef5
commit a426f2150b
4 changed files with 16 additions and 9 deletions

View file

@ -6,10 +6,8 @@
}
.page-content {
.list-block, .content-block {
&:first-child {
margin-top: -1px;
}
.list-block:first-child {
margin-top: -1px;
}
}
}
@ -69,6 +67,15 @@
border-radius: 13px;
}
}
.content-block:first-child {
margin-top: 0;
.content-block-inner {
&:before {
height: 0;
}
}
}
}
.categories {

View file

@ -117,9 +117,9 @@ require([
'Editor',
'Toolbar',
'Search',
'CellEditor',
'Main',
'DocumentHolder'
,'CellEditor'
,'Statusbar'
,'Settings'
,'EditContainer'

View file

@ -83,7 +83,7 @@
</div>
<div class="page">
<div class="page-content">
<div class="list-block">
<div class="content-block">
<div class="content-block-inner">
<h3><%= args %></h3>
<p><%= descr %></p>

View file

@ -86,7 +86,7 @@ define([
var me = this;
$('.settings').single('click', '.function .info', this.onFunctionInfoClick.bind(this))
.single('click', '.function > a', this.onFunctionClick.bind(this));
.on('click', '.function > a', this.onFunctionClick.bind(this));
$('.groups a.group').single('click', this.onGroupClick.bind(this));
me.initControls();
@ -142,8 +142,8 @@ define([
},
onFunctionClick: function (e) {
if ( !/\.info/.test(e.target) )
this.fireEvent('function:insert', [$(e.target).data('func')]);
// if ( !/info/.test(e.target.className) )
this.fireEvent('function:insert', [$(e.currentTarget).data('func')]);
},
onFunctionInfoClick: function(e) {