Just wanted to give a try to version 7, so on a fresh Drupal 7 site I've enabled the module, inserted the test value on admin/config/user-interface/modal-page:
<front>|Welcome|Welcome to our new website|Thanks
and it worked ok causing a small pop up on front page. However, Google Chrome's console started to complain about different errors on different pages:
autocomplete.js?v=7.67:9 Uncaught TypeError: $(...).once is not a function
at Object.attach (autocomplete.js?v=7.67:9)
at Object.<anonymous> (drupal.js?ps65a3:112)
at Function.each (jquery.js?v=1.4.4:33)
at Object.Drupal.attachBehaviors (drupal.js?ps65a3:110)
at HTMLDocument.<anonymous> (drupal.js?ps65a3:593)
at Function.ready (jquery.js?v=1.4.4:30)
at HTMLDocument.u (jquery.js?v=1.4.4:38)
Uncaught TypeError: $(...).once is not a function
at Object.attach (toolbar.js?ps65d7:12)
at Object.<anonymous> (drupal.js?ps65d7:112)
at Function.each (jquery.js?v=1.4.4:33)
at Object.Drupal.attachBehaviors (drupal.js?ps65d7:110)
at HTMLDocument.<anonymous> (drupal.js?ps65d7:593)
at Function.ready (jquery.js?v=1.4.4:30)
at HTMLDocument.u (jquery.js?v=1.4.4:38)
Uncaught TypeError: Cannot read property 'msie' of undefined
at Object.Drupal.overlay.makeDocumentUntabbable (overlay-parent.js?v=1.0:933)
at Object.Drupal.overlay.open (overlay-parent.js?v=1.0:89)
at Object.Drupal.overlay.eventhandlerOperateByURLFragment (overlay-parent.js?v=1.0:692)
at s (jquery.js?v=1.4.4:36)
at G (jquery.ba-bbq.js?v=1.2.1:10)
at handle (jquery.js?v=1.4.4:64)
at o (jquery.js?v=1.4.4:57)
tableheader.js?ps65h6:12 Uncaught TypeError: $(...).once is not a function
at Object.attach (tableheader.js?ps65h6:12)
at Object.<anonymous> (drupal.js?ps65h6:112)
at Function.each (jquery.js?v=1.4.4:33)
at Object.Drupal.attachBehaviors (drupal.js?ps65h6:110)
at HTMLDocument.<anonymous> (drupal.js?ps65h6:593)
at Function.ready (jquery.js?v=1.4.4:30)
at HTMLDocument.u (jquery.js?v=1.4.4:38)
I tried to disable the external external jQuery and Bootstrap libraries to use only local jquery, but then it gave:
modal_page.js?ps65nh:14 Uncaught TypeError: modalPage.modal is not a function
at HTMLDocument.<anonymous> (modal_page.js?ps65nh:14)
at Function.ready (jquery.js?v=1.4.4:30)
at HTMLDocument.u (jquery.js?v=1.4.4:38)
Then I disabled the Toolbar module and finally all the errors were gone, but the format of modal popup windows was totally broken and the links in it were not functional.
Comments
Comment #2
altagrade commentedComment #3
renatog commentedHello @altagrade, how are you?!
You're right! I tested and really has this error.
Let's create a solution for this.
P.s. If you want to help us, patches are welcome.
Thanks a lot!
Good Work and Good Weekend.
Best,
Comment #4
paulocsFollow the patch to fix the conflict between the jQuerys.
Comment #5
thallesGood work @paulocs!
Comment #6
thallesFixed in dev branch!
Thanks @all!