Commit 70571286 authored by Julia Radzhabova's avatar Julia Radzhabova

Bug 32155.

parent ef5e53b5
......@@ -50,6 +50,7 @@ define([
Common.Controllers.ExternalDiagramEditor = Backbone.Controller.extend(_.extend((function() {
var appLang = 'en',
customization = undefined,
targetApp = '',
externalEditor = null;
......@@ -67,6 +68,7 @@ define([
},
editorConfig: {
mode : 'editdiagram',
targetApp : targetApp,
lang : appLang,
canCoAuthoring : false,
canBackToFolder : false,
......@@ -148,6 +150,7 @@ define([
if (data && data.config) {
if (data.config.lang) appLang = data.config.lang;
if (data.config.customization) customization = data.config.customization;
if (data.config.targetApp) targetApp = data.config.targetApp;
}
},
......
......@@ -50,6 +50,7 @@ define([
Common.Controllers.ExternalMergeEditor = Backbone.Controller.extend(_.extend((function() {
var appLang = 'en',
customization = undefined,
targetApp = '',
externalEditor = null;
......@@ -67,6 +68,7 @@ define([
},
editorConfig: {
mode : 'editmerge',
targetApp : targetApp,
lang : appLang,
canCoAuthoring : false,
canBackToFolder : false,
......@@ -149,6 +151,7 @@ define([
if (data && data.config) {
if (data.config.lang) appLang = data.config.lang;
if (data.config.customization) customization = data.config.customization;
if (data.config.targetApp) targetApp = data.config.targetApp;
}
},
......
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