|
@@ -35,7 +35,7 @@ function TagPrompt(select_tag_callback, tag_prompt_connector)
|
35
|
35
|
{
|
36
|
36
|
if (!tag_id)
|
37
|
37
|
{
|
38
|
|
- openTagSubmission(tag_name);
|
|
38
|
+ this.openTagSubmission(tag_name);
|
39
|
39
|
}
|
40
|
40
|
else
|
41
|
41
|
{
|
|
@@ -44,7 +44,7 @@ function TagPrompt(select_tag_callback, tag_prompt_connector)
|
44
|
44
|
}
|
45
|
45
|
}
|
46
|
46
|
|
47
|
|
- var openTagSubmission = function (tag_name)
|
|
47
|
+ this.openTagSubmission = function (tag_name)
|
48
|
48
|
{
|
49
|
49
|
// TODO : Cette partie du code n'est pas encore refactorisé
|
50
|
50
|
|
|
@@ -312,6 +312,11 @@ function TagPromptConnector(input, output, proposition_list, tag_box, prompt_loa
|
312
|
312
|
this.updateOutput(_tag_prompt.getSelectedTags());
|
313
|
313
|
}
|
314
|
314
|
|
|
315
|
+ this.openTagSubmission = function(tag_name)
|
|
316
|
+ {
|
|
317
|
+ _tag_prompt.openTagSubmission(tag_name);
|
|
318
|
+ }
|
|
319
|
+
|
315
|
320
|
}
|
316
|
321
|
|
317
|
322
|
function TagBoxManager(tag_box, tag_prompt_connector)
|