[mobile] Display macros settings in view mode
This commit is contained in:
parent
2ffcc4b717
commit
3ceab39e48
|
@ -770,7 +770,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="list-block">
|
||||
<div class="list-block display-view">
|
||||
<ul>
|
||||
<li>
|
||||
<a id="settings-macros" class="item-link item-content" data-page="#macros-settings-view">
|
||||
|
|
|
@ -476,7 +476,6 @@
|
|||
<div class="page-content">
|
||||
<div class="content-block-title"><%= scope.textUnitOfMeasurement %></div>
|
||||
<div class="list-block">
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<label class="label-radio item-content">
|
||||
|
@ -522,7 +521,7 @@
|
|||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="list-block">
|
||||
<div class="list-block display-view">
|
||||
<ul>
|
||||
<li>
|
||||
<a id="settings-macros" class="item-link item-content" data-page="#settings-macros-view">
|
||||
|
|
|
@ -131,7 +131,6 @@ define([
|
|||
$layour.find('#settings-readermode').hide();
|
||||
$layour.find('#settings-search .item-title').text(this.textFindAndReplace)
|
||||
} else {
|
||||
$layour.find('#settings-application').hide();
|
||||
$layour.find('#settings-spellcheck').hide();
|
||||
$layour.find('#settings-presentation-setup').hide();
|
||||
$layour.find('#settings-readermode input:checkbox')
|
||||
|
@ -220,6 +219,7 @@ define([
|
|||
|
||||
showSetApp: function () {
|
||||
this.showPage('#settings-application-view');
|
||||
$('.page[data-page=settings-application-view] .page-content > :not(.display-view)').hide();
|
||||
if (isShowMacros) {
|
||||
$('#settings-macros').single('click', _.bind(this.showMacros, this));
|
||||
}
|
||||
|
|
|
@ -579,7 +579,7 @@
|
|||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="list-block">
|
||||
<div class="list-block display-view">
|
||||
<ul>
|
||||
<li>
|
||||
<a id="settings-macros" class="item-link item-content" data-page="#settings-macros-view">
|
||||
|
|
Loading…
Reference in a new issue