mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 02:13:15 +00:00
Fix #1295 Research thesaurus terms
This commit is contained in:
@@ -181,9 +181,9 @@
|
|||||||
<div class="wizard wiz_2" style="display:none">
|
<div class="wizard wiz_2" style="display:none">
|
||||||
<div class="txt">{% trans 'prod::thesaurusTab:wizard:remplacer par le terme' %}</div>
|
<div class="txt">{% trans 'prod::thesaurusTab:wizard:remplacer par le terme' %}</div>
|
||||||
</div>
|
</div>
|
||||||
<form class="gform form-inline" href="#" onsubmit="T_Gfilter(this);return(false);">
|
<form class="gform form-inline" onsubmit="T_Gfilter(this);return(false);">
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<input type="text" class="input-medium" onkeyup="T_Gfilter_delayed(this.value, 300);" />
|
<input type="text" name="search_value" class="input-medium" onkeyup="T_Gfilter_delayed(this.value, 300);" />
|
||||||
<input type="submit" class="th_ok btn" value="{% trans 'boutton::rechercher' %}" />
|
<input type="submit" class="th_ok btn" value="{% trans 'boutton::rechercher' %}" />
|
||||||
<input type="button" class="th_cancel btn" value="{% trans 'boutton::annuler' %}" onclick="thesauCancelWizard();return(false);"/>
|
<input type="button" class="th_cancel btn" value="{% trans 'boutton::annuler' %}" onclick="thesauCancelWizard();return(false);"/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -44,11 +44,11 @@ function T_Gfilter(o)
|
|||||||
{
|
{
|
||||||
var f;
|
var f;
|
||||||
if(o.nodeName=="FORM")
|
if(o.nodeName=="FORM")
|
||||||
f = $(o).children(":text").val();
|
f = $(o).find("input[name=search_value]").val();
|
||||||
else if(o.nodeName=="INPUT")
|
else if(o.nodeName=="INPUT")
|
||||||
f = o.value;
|
f = $(o).val();
|
||||||
|
|
||||||
T_Gfilter_delayed(f, 0);
|
T_Gfilter_delayed(f, 0);
|
||||||
|
|
||||||
switch(p4.thesau.currentWizard)
|
switch(p4.thesau.currentWizard)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user