[SSE Mobile] debug Functions page
This commit is contained in:
parent
528ff8eef5
commit
a426f2150b
|
@ -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 {
|
||||
|
|
|
@ -117,9 +117,9 @@ require([
|
|||
'Editor',
|
||||
'Toolbar',
|
||||
'Search',
|
||||
'CellEditor',
|
||||
'Main',
|
||||
'DocumentHolder'
|
||||
,'CellEditor'
|
||||
,'Statusbar'
|
||||
,'Settings'
|
||||
,'EditContainer'
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue