We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think, missed 3rd parameter in function TbArray::popValue on line 160
The text was updated successfully, but these errors were encountered:
Please explain this issue and I'll see what I can do.
Sorry, something went wrong.
For example:
<?php $this->widget('bootstrap.widgets.TbModal', array( 'id' => 'myModal', 'header' => 'Modal Heading', 'remote' => 'http://example.com', 'footer' => array( TbHtml::button('Save Changes', array('data-dismiss' => 'modal', 'color' => TbHtml::BUTTON_COLOR_PRIMARY)), TbHtml::button('Close', array('data-dismiss' => 'modal')), ), )); ?>
Any value in option "remote" ignored, because in line 160 of TbModal.php missed 3rd parameter:
if ($remote = TbArray::popValue('remote', $this->options)) {
Must be:
if ($remote = TbArray::popValue('remote', $this->options, $this->remote)) {
I will fix this when add the new version of the modal widget. #148
crisu83
No branches or pull requests
I think, missed 3rd parameter in function TbArray::popValue on line 160
The text was updated successfully, but these errors were encountered: