EasyUI Forum
September 14, 2025, 01:04:44 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: set bodyCls for ALl dialogs (Solved)  (Read 6909 times)
devnull
Sr. Member
****
Posts: 431


View Profile
« 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'
});
« Last Edit: July 06, 2016, 02:12:42 AM by devnull » Logged

-- Licensed User --
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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.
Logged
devnull
Sr. Member
****
Posts: 431


View Profile
« Reply #2 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.

Logged

-- Licensed User --
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!