Hi,
I can’t set buttons in dialog ui.
‘buttons’ => [
[
'text' => 'Add',
'click' => 'function() { $( this ).dialog( "close" ); }',
],
]
error: click.apply is not a function
In yii1 is:
‘buttons’ => [
'Close'=>'js:function() { $( this ).dialog( "close" ) }',
]
but is not work.
Please help.