Add application tests

This commit is contained in:
Nicolas Le Goff
2013-05-23 17:16:43 +02:00
committed by Romain Neutron
parent ac6c9970e2
commit f886874f8d
13 changed files with 699 additions and 24 deletions

View File

@@ -17,8 +17,8 @@ define([
});
this.$el.html(template);
var index = $("#dces-element", AdminFieldApp.$rightBlock)[0].selectedIndex - 1;
var index = $("#dces-element", this.$el)[0].selectedIndex - 1;
if (index > 0 ) {
$(".dces-help-block", AdminFieldApp.$rightBlock).html(
this.collection.at(index).get("definition")