General Category > Bug Report

Paramquery breaks JQueryUI Dialog functionality

(1/1)

vsa:
Hello,

Here are two jsfiddle links that show that jQuery UI Dialog buttons are not shown if pqgrid.min.js is included.
Please, click on "showInterfaceSettings" to see dialog.

https://jsfiddle.net/bs9n2qgL/


https://jsfiddle.net/gfpvz1tL/


Thank you in advance

paramvir:
Thanks for sharing the issue.

Current workaround for this issue is to use array format for buttons option.


--- Code: ---        buttons: [{
            text: "Apply",
            click: function() {
              saveInterfaceSettings();
            }
          },
          {
            text: 'Cancel',
            click: function() {
                $( this ).dialog( "close" );
            }
          }
        ]

--- End code ---

https://jsfiddle.net/y0pvenb4/

Navigation

[0] Message Index

Go to full version