Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

SC.confirm is showing 3 buttons

$
0
0
SmartGWT 4.0p
GWT 2.5.1
SmartClient Version: v9.0p_2013-09-06/Enterprise Deployment (built 2013-09-06)
FF 23.0.1


I just finished upgrading from SmartGWT 3.1p EE and GWT 2.4.0 to SmartGWT 4.0p EE and GWT 2.5.1.

While sanity testing the client I discovered a strange problem in that an SC.confirm dialog is now showing 3 buttons, specifically OK/Cancel/OK rather than the expected OK/Cancel.

See attached screen snapshot.

The code is quite simple and has not changed:

<CODE>
String searchName = "&nbsp;&nbsp;&nbsp;&nbsp;";
if ( grid.getSelectedRecords().length == 1 )
{
searchName = searchName + grid.getSelectedRecord().getAttribute( "name" );
SC.confirm( "Proceed with deletion of search?<br>" + searchName, callback );
}
</CODE>

Using the Developer Console and watch tab shows the following:
isc_globalWarn_body
-isc_Button1
-isc_button2

So only 2 buttons as expected. I am able to click on the 3rd button (OK) and the callback method is invoked as one would expect.

Thanks for any insight

Attached Images
File Type: png deleteSearch.PNG (7.7 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles