Skip to main content

Bug Tracker

Side navigation

#2675 closed bug (worksforme)

Opened April 10, 2008 05:27PM UTC

Closed April 18, 2008 11:30AM UTC

Last modified July 17, 2013 01:28PM UTC

toJSONString button in dialog in JQuery UI 1.5b

Reported by: bart.waggoner Owned by: rworth
Priority: major Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:
Description

When showing a dialog with an OK and Cancel button, I also get a toJSONString button. I presume this is for debugging purposes, but I did not see an easy way to turn it off. JQuery UI 1.5b.

Here is how I create the dialog:

$("#sqlDlg").dialog({

title: "SQL Expression",

buttons: {

"OK": sqlDoOk,

"Cancel": sqlDoCancel

},

height: 225,

width: 530

});

Attachments (0)
Change History (3)

Changed April 16, 2008 08:31AM UTC by paul comment:1

owner: paulrworth

Changed April 18, 2008 11:30AM UTC by rworth comment:2

resolution: → worksforme
status: newclosed

I was not able to reproduce with the latest beta (1.5b2). If you're able to, please reopen and attach a test page demonstrating it.

Changed July 17, 2013 01:28PM UTC by danclaude@graffiti.net comment:3

Happened to me recently in IE8, while in IE7-compatibility mode.

It appears as if built-in objects like string and boolean have an additional "toJSON"-method in that mode, which is what gets rendered as a button.