git://git.onelab.eu
/
plewww.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6ebc4b
)
Another minor bug corrected at toggle.js (sorry)
author
Panos
<antoniad@panos.cs.princeton.edu>
Thu, 9 Dec 2010 19:15:34 +0000
(14:15 -0500)
committer
Panos
<antoniad@panos.cs.princeton.edu>
Thu, 9 Dec 2010 19:15:34 +0000
(14:15 -0500)
plekit/toggle/toggle.js
patch
|
blob
|
history
diff --git
a/plekit/toggle/toggle.js
b/plekit/toggle/toggle.js
index
7d302e1
..
faae1b8
100644
(file)
--- a/
plekit/toggle/toggle.js
+++ b/
plekit/toggle/toggle.js
@@
-24,6
+24,15
@@
function plc_show_toggle_info(div, id) {
if (document.getElementById(div).style.display == "none")
document.getElementById(div).style.display = "";
+ else
+ document.getElementById(div).style.display = "none";
- plc_toggle(id);
+ if(! area.visible()){
+ area.toggle();
+ visible.show();
+ hidden.hide();
+ document.getElementById(div).style.display = "";
+ }
+
+ //plc_toggle(id);
}