Merge pull request #5530 from slozier/patch-3

Update type of DialogOptions.buttons
This commit is contained in:
John Reilly
2015-08-25 19:04:41 +01:00
+1 -1
View File
@@ -341,7 +341,7 @@ declare module JQueryUI {
interface DialogOptions extends DialogEvents {
autoOpen?: boolean;
buttons?: { [buttonText: string]: () => void } | ButtonOptions[];
buttons?: { [buttonText: string]: (event?: Event) => void } | ButtonOptions[];
closeOnEscape?: boolean;
closeText?: string;
dialogClass?: string;