Opened 14 years ago
Last modified 14 years ago
#7655 confirmed Bug
addButton nextSiblingId don't work
Reported by: | datalink | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Cc: |
Description
On
dialogDefinition.addButton( { type : 'button', id : 'mybutton', title : 'My Button', onClick : function() { myFunc(); } }, 'ok' );
or
dialogDefinition.addButton( { type : 'button', id : 'mybutton', title : 'My Button', onClick : function() { myFunc(); } }, 'cancel' );
My Button is allways inserted as last Element, not before 'ok' or 'cancel'.
I have created sample code on replacebycode page:
The button is always inserted after 'ok' and 'cancel' buttons.