diff --git a/apps/documenteditor/mobile/app/controller/edit/EditChart.js b/apps/documenteditor/mobile/app/controller/edit/EditChart.js index 861eedd54..4bdf4c28c 100644 --- a/apps/documenteditor/mobile/app/controller/edit/EditChart.js +++ b/apps/documenteditor/mobile/app/controller/edit/EditChart.js @@ -46,7 +46,7 @@ define([ ], function (core) { 'use strict'; - DE.Controllers.EditChart = Backbone.Controller.extend((function() { + DE.Controllers.EditChart = Backbone.Controller.extend(_.extend((function() { // Private var _stack = [], _chartObject = undefined, @@ -593,5 +593,5 @@ define([ return chartExist; } }; - })()); + })(), DE.Controllers.EditChart || {})) }); \ No newline at end of file diff --git a/apps/documenteditor/mobile/app/template/EditChart.template b/apps/documenteditor/mobile/app/template/EditChart.template index acaa8caf0..43b4be8f1 100644 --- a/apps/documenteditor/mobile/app/template/EditChart.template +++ b/apps/documenteditor/mobile/app/template/EditChart.template @@ -6,7 +6,7 @@
-
Style
+
<%= scope.textStyle %>
@@ -15,7 +15,7 @@
-
Wrap
+
<%= scope.textWrap %>
@@ -24,7 +24,7 @@
-
Reorder
+
<%= scope.textReorder %>
@@ -35,11 +35,11 @@ <% if (!android) { %> <% } else { %> - Remove Chart + <%= scope.textRemoveChart %> <% } %> @@ -48,8 +48,8 @@
@@ -62,7 +62,7 @@
-
Bring to Foreground
+
<%= scope.textToForeground %>
@@ -72,7 +72,7 @@
-
Send to Background
+
<%= scope.textToBackground %>
@@ -82,7 +82,7 @@
-
Move Forward
+
<%= scope.textForward %>
@@ -92,7 +92,7 @@
-
Move Backward
+
<%= scope.textBackward %>
@@ -107,8 +107,8 @@
@@ -125,7 +125,7 @@
<% } %>
-
Inline
+
<%= scope.textInline %>
@@ -138,7 +138,7 @@
<% } %>
-
Square
+
<%= scope.textSquare %>
@@ -151,7 +151,7 @@
<% } %>
-
Tight
+
<%= scope.textTight %>
@@ -164,7 +164,7 @@
<% } %>
-
Through
+
<%= scope.textThrough %>
@@ -177,7 +177,7 @@
<% } %>
-
Top and Bottom
+
<%= scope.textTopBottom %>
@@ -190,7 +190,7 @@
<% } %>
-
In Front
+
<%= scope.textInFront %>
@@ -203,13 +203,13 @@
<% } %>
-
Behind
+
<%= scope.textBehind %>
-
Align
+
<%= scope.textAlign %>
-
Distance from text
+
<%= scope.textDistanceText %>