includes/clientside/static/messagebox.js
changeset 673 99c617146a34
parent 652 26ce2694d43f
child 677 2a263b598a2b
--- a/includes/clientside/static/messagebox.js	Mon Jul 28 13:13:09 2008 -0600
+++ b/includes/clientside/static/messagebox.js	Tue Jul 29 09:53:42 2008 -0600
@@ -531,6 +531,11 @@
               button.input.style[j] = button.style[j];
             }
           }
+          if ( button.image )
+          {
+            button.input.className += ' abutton_img';
+            button.input.style.backgroundImage = 'url(' + button.image + ')';
+          }
           button.input.onclick = function(e)
           {
             try