Navigation Menu

Skip to content

Commit

Permalink
[REF] Corrected JS travis errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JayVora-SerpentCS committed Mar 24, 2017
1 parent 3a28b43 commit 9014e69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions web_translate_dialog/static/src/js/web_translate_dialog.js
Expand Up @@ -43,9 +43,7 @@ var translateDialog = Dialog.extend({
this.languages = null;
this.languages_loaded = $.Deferred();
(new data.DataSetSearch(this, 'res.lang', this.view.dataset.get_context(),
[['translatable', '=', '1']]))
.read_slice(['code', 'name'], { sort: 'id' })
.then(this.on_languages_loaded);
[['translatable', '=', '1']])).read_slice(['code', 'name'], { sort: 'id' }).then(this.on_languages_loaded);
},
on_languages_loaded: function(langs) {
this.languages = langs;
Expand Down
2 changes: 1 addition & 1 deletion web_translate_dialog/view/web_translate.xml
Expand Up @@ -12,4 +12,4 @@
href="/web_translate_dialog/static/src/css/base.css"/>
</xpath>
</template>
</odoo>
</odoo>

0 comments on commit 9014e69

Please sign in to comment.