includes/clientside/static/messagebox.js
changeset 673 99c617146a34
parent 652 26ce2694d43f
child 677 2a263b598a2b
equal deleted inserted replaced
672:08a7875258b4 673:99c617146a34
   529             for ( var j in button.style )
   529             for ( var j in button.style )
   530             {
   530             {
   531               button.input.style[j] = button.style[j];
   531               button.input.style[j] = button.style[j];
   532             }
   532             }
   533           }
   533           }
       
   534           if ( button.image )
       
   535           {
       
   536             button.input.className += ' abutton_img';
       
   537             button.input.style.backgroundImage = 'url(' + button.image + ')';
       
   538           }
   534           button.input.onclick = function(e)
   539           button.input.onclick = function(e)
   535           {
   540           {
   536             try
   541             try
   537             {
   542             {
   538               this.clickAction(e);
   543               this.clickAction(e);