EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: devnull on July 05, 2016, 09:38:14 PM



Title: set bodyCls for ALl dialogs (Solved)
Post by: devnull on July 05, 2016, 09:38:14 PM
How do I set the body class for ALL dialog boxes globally, this does not appear to work:

Code:
$.extend($.fn.dialog.defaults,{
  bodyCls:'dbox'
});


Title: Re: set bodyCls for ALl dialogs
Post by: stworthy on July 06, 2016, 12:49:12 AM
The are no problems with this code. Please look at this example http://code.reloado.com/acerak/edit#javascript,html. It works fine.


Title: Re: set bodyCls for ALl dialogs (Solved)
Post by: devnull on July 06, 2016, 02:14:01 AM
Thanks, I can see that the class is being applied but I am unable to actully see the classname being applied to the element.

I did a search in firebug and it could not find anything.