diff --git a/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js b/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js index 7cf7d94a7..13ad4b538 100644 --- a/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js +++ b/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js @@ -46,7 +46,7 @@ define([ ], function (core) { 'use strict'; - DE.Controllers.EditParagraph = Backbone.Controller.extend((function() { + DE.Controllers.EditParagraph = Backbone.Controller.extend(_.extend((function() { // Private var _stack = [], _paragraphInfo = {}, @@ -323,5 +323,5 @@ define([ $('#paragraph-list input[name=paragraph-style]').val([name]); } } - })()); -}); + })(), DE.Controllers.EditParagraph || {})) +}); \ No newline at end of file diff --git a/apps/documenteditor/mobile/app/template/EditParagraph.template b/apps/documenteditor/mobile/app/template/EditParagraph.template index 335ee60b2..0715799d5 100644 --- a/apps/documenteditor/mobile/app/template/EditParagraph.template +++ b/apps/documenteditor/mobile/app/template/EditParagraph.template @@ -6,7 +6,7 @@
-
Background
+
<%= scope.textBackground %>
@@ -20,14 +20,14 @@
-
Advanced settings
+
<%= scope.textAdvSettings %>
-
Paragraph styles
+
<%= scope.textPrgStyles %>
@@ -37,8 +37,8 @@
@@ -52,25 +52,25 @@
-
Distance from text
+
<%= scope.textFromText %>
  • -
    Before
    +
    <%= scope.textBefore %>
    - <% if (!android) { %><% } %> + <% if (!android) { %><% } %>

    <% if (android) { %><% } else { %>-<% } %> - <% if (android) { %><% } %> + <% if (android) { %><% } %> <% if (android) { %><% } else { %>+<% } %>

    @@ -80,12 +80,12 @@
  • -
    After
    +
    <%= scope.textAfter %>
    - <% if (!android) { %><% } %> + <% if (!android) { %><% } %>

    <% if (android) { %><% } else { %>-<% } %> - <% if (android) { %><% } %> + <% if (android) { %><% } %> <% if (android) { %><% } else { %>+<% } %>

    @@ -99,7 +99,7 @@
  • -
    Space Between Paragraphs
    +
    <%= scope.textSpaceBetween %>
  • -
    Page Break Before
    +
    <%= scope.textPageBreak %>
  • -
    Orphan Control
    +
    <%= scope.textOrphan %>
  • -
    Keep Lines Together
    +
    <%= scope.textKeepLines %>
  • -
    Keep with Next
    +
    <%= scope.textKeepNext %>