Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hi,

So I'm trying to integrate my client's restaurant menu page into admin but I have an issue. When my client needs to update its menu I've got a little javascript code that disables div's parent when the child is empty but the thing is that rich text editor automatically adds this in the div when the client tries to delete the whole line : " ". Since " " is not considered as empty my script doesn't work and it's not working as it should because I really need to hide the parent div in this case.

How can I prevent this ?
2 posts Page 1 of 1
cron