PHRAS-726_delete-candidate

- remove : prod / replace candidate is removed from menu
- fix : thesaurus / delete candidate is ok

#time 1h
This commit is contained in:
Jean-Yves Gaulier
2016-06-28 16:54:32 +02:00
parent ef108d543e
commit 9c32183747
3 changed files with 2 additions and 156 deletions

View File

@@ -460,13 +460,8 @@
// alert(url);
ret = loadXMLDoc(url, null, true);
// alert(ret);
allhits = ret.getElementsByTagName("allhits").item(0).firstChild.nodeValue;
if(allhits==0)
msg = "{{ 'thesaurus:: Supprimer cette branche ?
(les termes concernes remonteront en candidats a la prochaine indexation)' | trans }}";
else
msg = "{{ 'thesaurus:: Des reponses sont retournees par cette branche. 
Supprimer quand meme ?
(les termes concernes remonteront en candidats a la prochaine indexation)' | trans }}";
msg = "{{ 'thesaurus:: Supprimer cette branche ?
(les termes concernes remonteront en candidats a la prochaine indexation)' | trans }}";
if(confirm(msg))
{