Need help with some javascript-code used in MRBS (opensource roombooking system)
Hey guys, hope you can help me here.
I installed a new instance of mrbs where a function is missing in the file edit_entry.php that offers the option to change the selected floor (called $area) whilst editing an entry.
Unfortunately the programmers reworked their whole coding so i cant just copy it from the old mrbs system.
- Find the code snippet from old mrbs here: http://pastebin.com/xe4Se1Z8
- Find the code snippet from new mrbs here: http://pastebin.com/WGCT7drm
- i also created an imgur album to show the different behaviour: http://imgur.com/a/pkXir (Räume is rooms and Bereich is area)
as you can see the option to select floors appears when i uncomment
echo "<div id="div_areas" style="display: none">\n";"
but the rooms arent changing
do you have an idea how i can get it running again?
And sorry for my bad english.
Posted Aug 13, 2015, 8:22 AM UTC
22
It's PHP not javascript.
Try r/php or r/webdev
thank you! sad that i cant recognize this by myself..