mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 20:43:25 +00:00
Add application tests
This commit is contained in:

committed by
Romain Neutron

parent
ac6c9970e2
commit
f886874f8d
@@ -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")
|
||||
|
Reference in New Issue
Block a user