hgs1906 / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

SC.ask bug, patch. #499

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It should be dialogPropertiesJS everywhere not dialogProperties.

public static native void ask(String title, String message, BooleanCallback 
callback, Dialog dialogProperties) /*-{
        var dialogPropertiesJS = dialogProperties.@com.smartgwt.client.widgets.Dialog::getConfig()();
        $wnd.isc.addProperties(dialogPropertiesJS, {title:title});
        $wnd.isc.ask(message, function(value) {
            var valueJ = value == null ? null : @com.smartgwt.client.util.JSOHelper::toBoolean(Z)(value);
            callback.@com.smartgwt.client.util.BooleanCallback::execute(Ljava/lang/Boolean;)(valueJ);
        }, dialogPropertiesJS);
    }-*/;

Original issue reported on code.google.com by kurian2z5@gmail.com on 25 Aug 2010 at 7:15

GoogleCodeExporter commented 9 years ago

Original comment by sanjiv.j...@gmail.com on 12 Sep 2010 at 12:18

GoogleCodeExporter commented 9 years ago
Fixed in SVN.

Original comment by sanjiv.j...@gmail.com on 12 Sep 2010 at 12:18