includes/clientside/static/messagebox.js
changeset 811 5c807fe77020
parent 779 609e35845ec3
child 832 7152ca0a0ce9
--- a/includes/clientside/static/messagebox.js	Sun Jan 11 21:37:39 2009 -0500
+++ b/includes/clientside/static/messagebox.js	Sun Jan 11 21:37:49 2009 -0500
@@ -296,9 +296,7 @@
   }
   if(typeof mb.onclick[val] == 'function')
   {
-    o = mb.onclick[val];
-    o();
-    o = false;
+    (mb.onclick[val])();
   }
 }