EasyUI Forum
November 05, 2025, 08:55:30 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: Dialog refuses to open as modal  (Read 6578 times)
devnull
Sr. Member
****
Posts: 431


View Profile
« on: June 03, 2015, 09:51:28 PM »

Even though I have set the dialog modal to true, and have also tried setting it's options.modal = true before opening, it simply refuses to open as modal.

How can I track down why this might be ?

Code:
  $('#_query_').dialog({
    modal: true,
    title: 'My Modal',
    width: 400,
    height:'auto',
    closed:true,
    iconCls:'icon-filter'
  })

var dl = $('#_query_');
dl.dialog('open');
dl.dialog('move',{left:50,top:50});
dl.dialog('options').modal = true;



Thanks
Logged

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


View Profile Email
« Reply #1 on: June 04, 2015, 01:29:15 AM »

Please refer to this example http://jsfiddle.net/kadLfs6k/. It works fine.
Logged
devnull
Sr. Member
****
Posts: 431


View Profile
« Reply #2 on: June 04, 2015, 01:53:48 AM »

Hi;

Yes, I know it works fine in a simple page, but something is preventing it from being modal, and I was asking how I can find out why it is not modal.
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!