The answer is here:









Dialog: Don't use $.attrFn since it's empty in jQuery 1.8.0. Fixes #8484 - Text of buttons in dialog is not shown with jquery 1.8.0.





So an addition of





if ( $.attrFn ) { $.attrFn.text = true; }





will fix the problem with ui buttons.





But, I suppose next version of jquery-ui (1.8.23?) will solve the problem with ui-buttons. Until then I think it is preferable to use jquery 1.7.2 instead of 1.8.0.