Skip to content

Commit 044c412

Browse files
committed
removed logs and rename to match with API version
1 parent d17c81e commit 044c412

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -182,53 +182,39 @@
182182

183183
if(!srclang_selected)
184184
{
185-
console.log('srclang is not defined');
186185
var langsrc_first_iteration = true;
187186
var langdest_first_iteration = true;
188187

189188
input_lang_unique.forEach(function (lang) {
190-
console.log('the lang is', lang);
191189
if (langsrc_first_iteration) {
192-
console.log('and this is the first iteration');
193190
$('select#node-input-srclang').append('<option value="' + lang + '" selected="selected">' + lang + '</option>');
194191
} else {
195-
console.log('and this is not the first iteration');
196192
$('select#node-input-srclang').append('<option value="' + lang + '">' + lang + '</option>');
197193
}
198194
langsrc_first_iteration = false;
199195
});
200196
output_lang_unique.forEach(function (lang) {
201-
console.log('the lang is', lang);
202197
if (langdest_first_iteration) {
203-
console.log('and this is the first iteration');
204198
$('select#node-input-destlang').append('<option value="' + lang + '" selected="selected">' + lang + '</option>');
205199
} else {
206-
console.log('and this is not the first iteration');
207200
$('select#node-input-destlang').append('<option value="' + lang + '">' + lang + '</option>');
208201
}
209202
langdest_first_iteration = false;
210203
});
211204

212205

213206
} else {
214-
console.log('src lang exists and is equal to ', srclang_selected);
215207
input_lang_unique.forEach(function (lang) {
216-
console.log('the lang is', lang);
217208
if (srclang_selected === lang) {
218-
console.log('la langue sélectionné ' + srclang_selected + ' est égale a la langue ' + lang);
219209
$('select#node-input-srclang').append('<option value="' + lang + '" selected="selected">' + lang + '</option>');
220210
} else {
221-
console.log('la langue selectionne n est pas egale');
222211
$('select#node-input-srclang').append('<option value="' + lang + '">' + lang + '</option>');
223212
}
224213
});
225214
output_lang_unique.forEach(function (lang) {
226-
console.log('the lang is', lang);
227215
if (destlang_selected === lang) {
228-
console.log('la langue sélectionné ' + srclang_selected + ' est égale a la langue ' + lang);
229216
$('select#node-input-destlang').append('<option value="' + lang + '" selected="selected">' + lang + '</option>');
230217
} else {
231-
console.log('la langue selectionne n est pas egale');
232218
$('select#node-input-destlang').append('<option value="' + lang + '">' + lang + '</option>');
233219
}
234220
});

0 commit comments

Comments
 (0)