# plugins.dialogs

**URL:** <https://forum.servoy.com/t/plugins-dialogs/14220>\
**Category:** Classic Servoy\
**Created:** [June 27, 2011, 7:24pm UTC](https://forum.servoy.com/t/plugins-dialogs/14220 "2011-06-27T19:24:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gldni](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@gldni](https://forum.servoy.com/u/gldni)\
**Post date:** [June 27, 2011, 7:24pm UTC](https://forum.servoy.com/t/plugins-dialogs/14220/1 "2011-06-27T19:24:07Z")

</div>

I upgraded to RC2 this morning and have noticed that my dialogs aren’t working correctly. Here is my code:

```auto
var diag = plugins.dialogs.showQuestionDialog("Change to Standard","Would you like to change this to a Standard finding for " + varName.toUpperCase() + "?","OK", "Cancel");
if(diag === "OK")
{
      //Do stuff
}

```

When I look at this in debugger, diag = “uninitializedValue”. I loaded up beta1, and it works fine. Bug in RC2? I didn’t use RC1 so don’t know when it quit working.

Thanks!

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [June 27, 2011, 7:34pm UTC](https://forum.servoy.com/t/plugins-dialogs/14220/2 "2011-06-27T19:34:47Z")

</div>

Hi Nicholas,

So after the dialog comes back you get that ‘value’ ?  
Also, did you file a bugreport in Servoy’s [issue tracker](http://www.servoy.com/s)?

---

<div class="post-metadata">

**Author:** ![gldni](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@gldni](https://forum.servoy.com/u/gldni)\
**Post date:** [June 27, 2011, 7:50pm UTC](https://forum.servoy.com/t/plugins-dialogs/14220/3 "2011-06-27T19:50:06Z")

</div>

Yes. When the dialog appears I hit “OK”, then I get that value. I was wanting to see if anyone else was experiencing this before I made a case. Knowing my luck, it could just be me ![:lol:]( "Laughing")

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [June 27, 2011, 8:07pm UTC](https://forum.servoy.com/t/plugins-dialogs/14220/4 "2011-06-27T20:07:23Z")

</div>

Please file a case, preferably with a small sample, as this looks like a bug in RC2.

Paul

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [June 28, 2011, 7:58am UTC](https://forum.servoy.com/t/plugins-dialogs/14220/5 "2011-06-28T07:58:46Z")

</div>

i reproduced it and fixed it for RC3
