Sets selected field according to current user langage

This commit is contained in:
Nicolas Le Goff
2013-10-25 16:43:23 +02:00
parent cb5e4cbdbd
commit ae653edad0
3 changed files with 3 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ define([
render: function() {
var self = this;
var template = _.template($("#edit_template").html(), {
lng: AdminFieldApp.lng,
field: this.model.toJSON(),
vocabularyTypes: AdminFieldApp.vocabularyCollection.toJSON(),
modelErrors: AdminFieldApp.errorManager.getModelError(this.model),