Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Save, Save & Close, Cancel doesn't work in modal 03 Jun 2014 07:02 #12465

  • dyvel
  • dyvel's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 200
  • Thank you received: 11
Hi

I've created a "link to foreign" from an item view as a modal popup. The modal works fine, and to content is there. But the buttons at the top doesn't work.
So I can't save any data I input in the modal view.

I'm getting JS errors like this:
[Error] ReferenceError: Can't find variable: Joomla onclick (index.php, line 87)

Please Log in or Create an account to join the conversation.

Save, Save & Close, Cancel doesn't work in modal 10 Sep 2014 15:35 #12623

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Sorry for late answer Dyvel, I was over for few months...

Do you still have this problem ?

If you have this javascript error, it means that you have maybe a conflict and so the Joomla JS class is not found.

I guess you have this in front-end...
Did you tried it alone, without any template ?
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Save, Save & Close, Cancel doesn't work in modal 14 Sep 2014 14:47 #12625

  • dyvel
  • dyvel's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 200
  • Thank you received: 11
As I remember, the problem was in backend, but will have to check to see if it's still an issue...

Please Log in or Create an account to join the conversation.

Save, Save & Close, Cancel doesn't work in modal 14 Sep 2014 15:02 #12626

  • dyvel
  • dyvel's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 200
  • Thank you received: 11
Just checked my component - it was indeed in backend. I've made a few screenshots to show the problem.

From builder:


Backend modal:


Have you made any changes in builder, so I should try and update my component?

Please Log in or Create an account to join the conversation.

Last edit: by dyvel.

Save, Save & Close, Cancel doesn't work in modal 15 Sep 2014 11:03 #12627

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I have made the same test and it works for me.
Wich version of Jooma are you using ? (shouldn't change anything, but in case...)

Are you using ajax combos ?
Before to download again, try it on the sandbox.

It works for me on an existing project.
Try new download on new fresh joomla install, and then tell me in wich case you have this error.

Also is this error raising only in modal box ?

If you have JS loading errors, you can upgrade with the last release. This morning I have changed something in dom/dom.php
There was a problem for url treatement (convert path to URL for the assets).

Hope it helps.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

Save, Save & Close, Cancel doesn't work in modal 07 Oct 2014 21:32 #12675

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
After few changes in the toolbar.js, can you please try again in a fresh install ?
Thanks.
For me this is a closed ticket.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.070 seconds

A HUGE thank you for all the time and effort you have put into J-Cook it is a timesaver and a training tool all in one
Morgan Leecy - MCSE  

Get Started