Menu

#362 Error when clicking conflict_check

Future_Requests
open
nobody
None
7
2016-07-20
2016-07-19
Gramanox
No

When I click on one of the two conflict check markers in edit_entry.php page nothing happens and get the following error. I was able to reproduce it with your demo installation as well. Can you help, please?
Uncaught Error: no such method 'select' for tabs widget instance

Discussion

  • Gramanox

    Gramanox - 2016-07-19

    OK, so the solution is:

    Change the following code in edit_entry.js.php (in the js folder) in lines 1326 AND 1335

    FROM this:

    checkTabs.tabs("select", tabId);
    

    TO this:

     checkTabs.tabs("option", "active", tabId);
    
     
  • Campbell Morrison

    Not quite - the third parameter needs to be the index rather than the id. I've checked in a fix to the default branch in changeset 0b7ac777c33f.

    There's still one other problem which is that the tabs are supposed to have a close button which has disappeared in recent versions. I'll take a look at it.

     
  • Campbell Morrison

    I've fixed the problem with the close button in changeset f18107b76b67.

     
  • Gramanox

    Gramanox - 2016-07-20

    Very nice, thank you, Campbell!

     
MongoDB Logo MongoDB