Commit ef694c4c authored by Alexander Yuzhin's avatar Alexander Yuzhin

[DE mobile] Replace ‘Line Break’ on ‘Column Break’

parent f12413af
...@@ -42,9 +42,12 @@ ...@@ -42,9 +42,12 @@
define([ define([
'core', 'core',
'jquery',
'underscore',
'backbone',
'irregularstack', 'irregularstack',
'common/main/lib/util/LocalStorage' 'common/main/lib/util/LocalStorage'
], function () { ], function (core, $, _, Backbone) {
'use strict'; 'use strict';
DE.Controllers.Main = Backbone.Controller.extend(_.extend((function() { DE.Controllers.Main = Backbone.Controller.extend(_.extend((function() {
......
...@@ -86,7 +86,7 @@ define([ ...@@ -86,7 +86,7 @@ define([
initEvents: function () { initEvents: function () {
var me = this; var me = this;
$('#add-other-pagebreak').single('click', _.bind(me.onPageBreak, me)); $('#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) { onPageShow: function (view, pageId) {
...@@ -144,8 +144,8 @@ define([ ...@@ -144,8 +144,8 @@ define([
DE.getController('AddContainer').hideModal(); DE.getController('AddContainer').hideModal();
}, },
onLineBreak: function (e) { onColumnBreak: function () {
this.api && this.api.put_AddLineBreak(); this.api && this.api.put_AddColumnBreak();
DE.getController('AddContainer').hideModal(); DE.getController('AddContainer').hideModal();
}, },
......
...@@ -15,25 +15,25 @@ ...@@ -15,25 +15,25 @@
</a> </a>
</li> </li>
<li> <li>
<a id="add-other-section" class="item-link"> <a id="add-other-columnbreak" class="item-link no-indicator">
<div class="item-content"> <div class="item-content">
<div class="item-media"> <div class="item-media">
<i class="icon icon-sectionbreak"></i> <i class="icon icon-stringbreak"></i>
</div> </div>
<div class="item-inner"> <div class="item-inner">
<div class="item-title"><%= scope.textSectionBreak %></div> <div class="item-title"><%= scope.textColumnBreak %></div>
</div> </div>
</div> </div>
</a> </a>
</li> </li>
<li> <li>
<a id="add-other-linebreak" class="item-link no-indicator"> <a id="add-other-section" class="item-link">
<div class="item-content"> <div class="item-content">
<div class="item-media"> <div class="item-media">
<i class="icon icon-stringbreak"></i> <i class="icon icon-sectionbreak"></i>
</div> </div>
<div class="item-inner"> <div class="item-inner">
<div class="item-title"><%= scope.textLineBreak %></div> <div class="item-title"><%= scope.textSectionBreak %></div>
</div> </div>
</div> </div>
</a> </a>
......
...@@ -139,7 +139,7 @@ define([ ...@@ -139,7 +139,7 @@ define([
textPageBreak: 'Page Break', textPageBreak: 'Page Break',
textSectionBreak: 'Section Break', textSectionBreak: 'Section Break',
textLineBreak: 'Line Break', textColumnBreak: 'Column Break',
textLink: 'Link', textLink: 'Link',
textPageNumber: 'Page Number', textPageNumber: 'Page Number',
textBack: 'Back', textBack: 'Back',
......
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
"DE.Controllers.AddOther.txtNotUrl": "This field should be a URL in the format 'http://www.example.com'", "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.textPageBreak": "Page Break",
"DE.Views.AddOther.textSectionBreak": "Section 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.textLink": "Link",
"DE.Views.AddOther.textPageNumber": "Page Number", "DE.Views.AddOther.textPageNumber": "Page Number",
"DE.Views.AddOther.textBack": "Back", "DE.Views.AddOther.textBack": "Back",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment