Welcome, Guest
Username: Password: Remember me

TOPIC: [SOLVED] task buttons not working [JAVASCRIPT]

[SOLVED] task buttons not working [JAVASCRIPT] 17 Sep 2011 15:00 #3

  • razvan
  • razvan's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 1
Hi,

I was looking into your platform and i've seen after (re)creating your cities exemple component i cannot insert any city.


"document.formvalidator.submitform is not a function" is return by firebug console.

Regards,
Razvan
Last Edit: 19 Sep 2011 06:31 by admin. Reason: [SOLVED] tag
The administrator has disabled public write access.

Re: task buttons not working [JAVASCRIPT] 18 Sep 2011 09:11 #4

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Hi razvan,

It seems to work when i check your component in the sandbox.

Can you be more precise ?

Which sandbox version ?
Which client side (front or back) ?

The error you notice may be from the override of the Joomla formvalidator.
It is located in the jdom directory (dom/assets/jdom.js)


Do you have previous javascript errors in the firebug list ?
Coding is now a piece of cake
The administrator has disabled public write access.

Re: task buttons not working [JAVASCRIPT] 18 Sep 2011 10:15 #5

  • razvan
  • razvan's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 1
Hi,

Is in backend, for J 1.5.

I tested for joomla 1.6/1.7 and is working.
I'm sure you can access my project (user->razvan) and test that project for J1.5, you will notice the js error in firefox.

Thanks,
Razvan
The administrator has disabled public write access.

Re: task buttons not working [JAVASCRIPT] 18 Sep 2011 11:17 #6

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Looks strange, your component is perfectly working in both versions for me.

I continue searching what can be the problem.



Regards,

Jocelyn.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: task buttons not working [JAVASCRIPT] 18 Sep 2011 11:25 #7

  • razvan
  • razvan's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 1
"NetworkError: 404 Not Found - sandbox.cms15.j-cook.pro/includes/js/joomla/javascript.js"
javascript.js

document.formvalidator.submitform is not a function

[] document.formvalidator.submitform(do..., pressbutton, function(pressbutton){
The administrator has disabled public write access.

Re: task buttons not working [JAVASCRIPT] 18 Sep 2011 12:32 #8

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
It should be better now.


Try it again and please give a review.

It is still working nice for me.

If not, please clean your cache, and tell me what is your navigator version.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: task buttons not working [JAVASCRIPT] 18 Sep 2011 12:37 #9

  • razvan
  • razvan's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 1
postimage.org/image/1vyt62cg4/

I've cleaned all the cache, still the same.

R
Last Edit: 18 Sep 2011 12:37 by razvan.
The administrator has disabled public write access.

Re: task buttons not working [JAVASCRIPT] 18 Sep 2011 12:46 #10

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
You must regenerate your component to see the changes.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: task buttons not working [JAVASCRIPT] 18 Sep 2011 12:57 #11

  • razvan
  • razvan's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 1
Ok, i shoulded regenerate.

There is other error:

requiredMooToolsVersion is not defined
[Întrerupe la această eroare] if (requiredMooToolsVersion('1.3'))
The administrator has disabled public write access.

Re: task buttons not working [JAVASCRIPT] 18 Sep 2011 13:10 #12

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Ok, regenerate again, it should be solved.

(Must clean your cache again)
Coding is now a piece of cake
Last Edit: 18 Sep 2011 13:12 by admin.
The administrator has disabled public write access.

Re: task buttons not working [JAVASCRIPT] 18 Sep 2011 16:26 #13

  • razvan
  • razvan's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 1
Is working now.

I still noticed there is one little javascript alert there:
class is a reserved identifier
var class = 'JDom' + params.asset.su...UpperCase() + params.asset.substr(1); 

Best regards,
Keep up Your good job out there!
Razvan

PS: I created a new project and all the errors went away thanks
Last Edit: 18 Sep 2011 16:45 by razvan.
The administrator has disabled public write access.

Re: task buttons not working [JAVASCRIPT] 19 Sep 2011 06:17 #14

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
class is a reserved identifier
var class = 'JDom' + params.asset.su...UpperCase() + params.asset.substr(1);


Resolved.

Must regenerate to see the changes.


We are still stabilizating the 1.3 Version.
Thank you for collaboration and for patience.

razvan : Karma +1
Coding is now a piece of cake
Last Edit: 19 Sep 2011 06:20 by admin.
The administrator has disabled public write access.

Re: [SOLVED] task buttons not working [JAVASCRIPT] 11 Oct 2011 17:09 #196

hi, i have this error in my test component for joomla 1.7 on sandbox
when try to create a category save and apply don't works.

Another bugs for me in the form (site and backend) color picker don't works.
The administrator has disabled public write access.
Time to create page: 0.166 seconds

Get Started