bbMenu 1.1 BETA need help fixing a (ajax)bug
I finished the next version of the bbMenu plugin, but it has 1 little bug that I can’t seem to fix. When you double click a menu item (in the admin area -> site management) you can change the title. When you press “ok” ajax will save the changes to the db, but it will return the value TWICE (not update the value twice, that goes well).
So like title:
edit to: bbForum
ajax will save: bbForum to the db, but will show:
Refreshing the page will clear it and show it just once. How to fix this?
I’ve created a beta file so you guys can see what i mean:
If you already used this plugin, you’ll have to delete the menu table from the db first!!
Files that really matter:
edit.php (file that is called when pressing ok)
editinplace.js (handels al the editing)
bbmenu.php (actual plugin)
Also, when I commented out:
require_once('../bb-load.php');in the edit.php file, I didn’t had the problem (could be because nothing was being saved, so it wouldn’t return a value at all)
Hope some one can help me with this so I can release this
ps. when installing this plugin and you see nothing, refresh the page (still working on this)
You must be logged in to reply to this topic.