You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that the parameter name and comment is misleading for
JQDialog>>#buttons: Current it reads:
----
buttons: anArray
"Specifies which buttons should be displayed on the dialog. Each element of the array must be an Object defining the properties to set on the button."
self optionAt: 'buttons' put: anArray
----
IIUC #buttons should take a dictionary so read:
----
buttons: aDictionary
"Specifies which buttons should be displayed on the dialog. The keys of the dictionary define the text to display on the button and the values of the dictionary define the action to be taken when the button is pressed"
self optionAt: 'buttons' put: aDictionary
----
I check-in a change myself, but I remember that some of the Seaside jQuery
integration is automated so would the change be overwritten by an automated
update?
Original issue reported on code.google.com by [email protected] on 24 Jan 2012 at 11:35
The text was updated successfully, but these errors were encountered:
The code to generate the methods from the docs is at JQWidget class>>#generate.
The code does not change methods that are not in a *-generated category, so we
could manually change this method and move it out of its category. Now
documentation in JQueryUI also changed, it proposed to replace 'buttons:
anArray' with 'buttons: anObject'. Now this is obviously not perfect, but
already better. I integrated that suggestion.
Original comment by renggli on 19 Feb 2012 at 12:24
Original issue reported on code.google.com by
[email protected]
on 24 Jan 2012 at 11:35The text was updated successfully, but these errors were encountered: