chozma
Member
Hi all,
Hope you're all doing well! I have something I could use some help/advice on...
I'm working on a desktop app (yes it's the one to do with animals that I'm always asking questions about) which isn't live yet but is part of a much larger site that is live. A lot of content got migrated to the live site over the last month and quite a few new components installed including Kunena forums.
I've now come back to the app and noticed something strange going on with the fileupload element which I am using for the animal's photo and I have set this to upload using ajax.
The problem occurs when you go to the create animal form. This form used to work just fine but now the ajax stuff is misbehaving and also affecting the javascript of the group below it (I think its the javascript anyhow).
Find attached two screenshots. The first one, 'ajax not working' shows what the form looks like when you load it up. At this point I would expect to see the add files and start upload buttons as per the second image ('what file image upload should look like'). Also I have set the mobs group bit underneath to be a min of 0 and not to show that part of the form until you click the green plus sign. But its like the javascript isn't working to do that and its just showing all the form straight away.
If I set the file upload to not use ajax it all works as I would expect. The mobs bit starts functioning as I would like the and image upload does work.
However, I really like the ajax stuff and am wondering what's gone wrong? Any ideas please?
Thanks,
Hannah
Hope you're all doing well! I have something I could use some help/advice on...
I'm working on a desktop app (yes it's the one to do with animals that I'm always asking questions about) which isn't live yet but is part of a much larger site that is live. A lot of content got migrated to the live site over the last month and quite a few new components installed including Kunena forums.
I've now come back to the app and noticed something strange going on with the fileupload element which I am using for the animal's photo and I have set this to upload using ajax.
The problem occurs when you go to the create animal form. This form used to work just fine but now the ajax stuff is misbehaving and also affecting the javascript of the group below it (I think its the javascript anyhow).
Find attached two screenshots. The first one, 'ajax not working' shows what the form looks like when you load it up. At this point I would expect to see the add files and start upload buttons as per the second image ('what file image upload should look like'). Also I have set the mobs group bit underneath to be a min of 0 and not to show that part of the form until you click the green plus sign. But its like the javascript isn't working to do that and its just showing all the form straight away.
If I set the file upload to not use ajax it all works as I would expect. The mobs bit starts functioning as I would like the and image upload does work.
However, I really like the ajax stuff and am wondering what's gone wrong? Any ideas please?
Thanks,
Hannah