Private GIT

Skip to content
Snippets Groups Projects
Commit b3fa6abe authored by Cedrick Facon's avatar Cedrick Facon
Browse files

ajout d'un javascript pour plier/deplier la topology

git-svn-id: http://svn.centreon.com/oreon-dev@2757 6bcd3966-0018-0410-8128-fd23d134de7e
parent 987d57b1
Branches
Tags
No related merge requests found
...@@ -53,9 +53,21 @@ For information : contact@oreon-project.org ...@@ -53,9 +53,21 @@ For information : contact@oreon-project.org
function toggleDisplay(id) function toggleDisplay(id)
{ {
var d = document.getElementById(id); var d = document.getElementById(id);
if(d) if(d)
{ {
var img = document.getElementById('img_'+id);
if(img){
if(d.style.display == 'block')
img.src = 'img/icones/16x16/navigate_plus.gif';
else
img.src = 'img/icones/16x16/navigate_minus.gif';
}
if (d.style.display == 'block') { if (d.style.display == 'block') {
d.style.display='none'; d.style.display='none';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment