jquery/jquery-ui — pull request #566 by hpbuniat (2012-01-06 22:18:19+00:00)
Title: Create no src-attr if no image-src is empty

When using buttonImage: "" (because the icon is located within a sprite, etc.), this will result in an empty-src attribute of the button-image, which causes an additional request (see: http://www.nczonline.net/blog/2009/11/30/empty-image-src-can-destroy-your-site/).

The patch adds a check for the buttonImage.