We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc0cc40 + baed3e5 commit 5c0b491Copy full SHA for 5c0b491
src/main/java/gwt/material/design/client/ui/MaterialModal.java
@@ -82,11 +82,12 @@ public void hide(){
82
public static native void showModal(String id)/*-{
83
$wnd.jQuery('#' + id).openModal();
84
}-*/;
85
-
86
- public static native void closeModal()/*-{
+
+ public static native void closeModal(String id)/*-{
87
$wnd.jQuery('#' + id).closeModal();
88
89
90
91
+ public static void closeModal() {
+ closeModal(panel.getElement().getId());
92
+ }
93
}
0 commit comments