[DE mobile] Replace ‘Line Break’ on ‘Column Break’
This commit is contained in:
parent
f12413af21
commit
ef694c4cc5
|
@ -42,9 +42,12 @@
|
|||
|
||||
define([
|
||||
'core',
|
||||
'jquery',
|
||||
'underscore',
|
||||
'backbone',
|
||||
'irregularstack',
|
||||
'common/main/lib/util/LocalStorage'
|
||||
], function () {
|
||||
], function (core, $, _, Backbone) {
|
||||
'use strict';
|
||||
|
||||
DE.Controllers.Main = Backbone.Controller.extend(_.extend((function() {
|
||||
|
|
|
@ -86,7 +86,7 @@ define([
|
|||
initEvents: function () {
|
||||
var me = this;
|
||||
$('#add-other-pagebreak').single('click', _.bind(me.onPageBreak, me));
|
||||
$('#add-other-linebreak').single('click', _.bind(me.onLineBreak, me));
|
||||
$('#add-other-columnbreak').single('click', _.bind(me.onColumnBreak, me));
|
||||
},
|
||||
|
||||
onPageShow: function (view, pageId) {
|
||||
|
@ -144,8 +144,8 @@ define([
|
|||
DE.getController('AddContainer').hideModal();
|
||||
},
|
||||
|
||||
onLineBreak: function (e) {
|
||||
this.api && this.api.put_AddLineBreak();
|
||||
onColumnBreak: function () {
|
||||
this.api && this.api.put_AddColumnBreak();
|
||||
DE.getController('AddContainer').hideModal();
|
||||
},
|
||||
|
||||
|
|
|
@ -14,6 +14,18 @@
|
|||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a id="add-other-columnbreak" class="item-link no-indicator">
|
||||
<div class="item-content">
|
||||
<div class="item-media">
|
||||
<i class="icon icon-stringbreak"></i>
|
||||
</div>
|
||||
<div class="item-inner">
|
||||
<div class="item-title"><%= scope.textColumnBreak %></div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a id="add-other-section" class="item-link">
|
||||
<div class="item-content">
|
||||
|
@ -26,18 +38,6 @@
|
|||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a id="add-other-linebreak" class="item-link no-indicator">
|
||||
<div class="item-content">
|
||||
<div class="item-media">
|
||||
<i class="icon icon-stringbreak"></i>
|
||||
</div>
|
||||
<div class="item-inner">
|
||||
<div class="item-title"><%= scope.textLineBreak %></div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a id="add-other-link" class="item-link">
|
||||
<div class="item-content">
|
||||
|
|
|
@ -139,7 +139,7 @@ define([
|
|||
|
||||
textPageBreak: 'Page Break',
|
||||
textSectionBreak: 'Section Break',
|
||||
textLineBreak: 'Line Break',
|
||||
textColumnBreak: 'Column Break',
|
||||
textLink: 'Link',
|
||||
textPageNumber: 'Page Number',
|
||||
textBack: 'Back',
|
||||
|
|
|
@ -159,7 +159,7 @@
|
|||
"DE.Controllers.AddOther.txtNotUrl": "This field should be a URL in the format 'http://www.example.com'",
|
||||
"DE.Views.AddOther.textPageBreak": "Page Break",
|
||||
"DE.Views.AddOther.textSectionBreak": "Section Break",
|
||||
"DE.Views.AddOther.textLineBreak": "Line Break",
|
||||
"DE.Views.AddOther.textColumnBreak": "Column Break",
|
||||
"DE.Views.AddOther.textLink": "Link",
|
||||
"DE.Views.AddOther.textPageNumber": "Page Number",
|
||||
"DE.Views.AddOther.textBack": "Back",
|
||||
|
|
Loading…
Reference in a new issue