Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Save, Save & Close, Cancel doesn't work in modal

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

  • dyvel
  • dyvel's Avatar
  • Offline
  • Elite Member
  • Posts: 200
  • Thank you received: 11
  • Karma: 10
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)
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
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
The administrator has disabled public write access.

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

  • dyvel
  • dyvel's Avatar
  • Offline
  • Elite Member
  • Posts: 200
  • Thank you received: 11
  • Karma: 10
As I remember, the problem was in backend, but will have to check to see if it's still an issue...
The administrator has disabled public write access.

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

  • dyvel
  • dyvel's Avatar
  • Offline
  • Elite Member
  • Posts: 200
  • Thank you received: 11
  • Karma: 10
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?
Last Edit: 14 Sep 2014 15:04 by dyvel.
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
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
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
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
The administrator has disabled public write access.
Time to create page: 0.081 seconds

Get Started