Issues

Issue #52 new

BsModal 'remote' option does not work

Andrew Hough
created an issue

Whenever you use the option 'remote' in BsModal widget it will never return the url that you provide.

The BsModal.php file (line 165) is missing the third argument "$this->remote" in the function:

if ($remote = BsArray::popValue('remote', $this->options)) {

It should read

if ($remote = BsArray::popValue('remote', $this->options, $this->remote)) {

Comments (1)

  1. Andrew Hough reporter

    Further to this if you do use the 'remote' option on the modal window it appears to stop the bootstrap tabs working correctly

    BsHtml::tabs
    

    It produces an error:

    TypeError: undefined is not a function (evaluating '$(this).tab('show')')
    

    I'm not 100% sure this is related but thought i would mention it :)

  2. Log in to comment