mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-726_delete-candidate
- change : thesaurus pool notifications is 10s - fix : thesaurus / delete term is ok #time 1h
This commit is contained in:
@@ -131,11 +131,7 @@
|
||||
alert("{{ 'phraseanet::erreur: Votre session est fermee, veuillez vous re-authentifier' | trans }}");
|
||||
self.location.replace(self.location.href);
|
||||
}
|
||||
//if(manageSession(data))
|
||||
var t = 5000; // 120000;
|
||||
if(data.apps && parseInt(data.apps)>1)
|
||||
t = Math.round((Math.sqrt(parseInt(data.apps)-1) * 1.3 * 120000));
|
||||
window.setTimeout("pollNotifications();", t);
|
||||
window.setTimeout("pollNotifications();", 10000);
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -1022,6 +1018,7 @@
|
||||
|
||||
if(confirm("{{ 'thesaurus:: deplacer le terme dans la corbeille ?' | trans | e('js') }}"+"\n\n"+fullpath+"\n\n"))
|
||||
{
|
||||
console.log(url);
|
||||
// xmlhttp/delts.x.php?bid=15&id=T1.629&debug=1
|
||||
// alert(url+"?"+parms);
|
||||
ret = loadXMLDoc(url, parms, true);
|
||||
|
Reference in New Issue
Block a user