I've set this up side by side with V9 and most parts are working without hitch but the booking system will not load the bookings into the grid.
The weekview and day view work fine just the main page where the actual bookings can be made.
Chrome developer tools gives me 2 errors on this page although the line references will change depending on the number of defined resources (This is with a single room as a test):
- Line 291 Uncaught SyntaxError: Unexpected identifier
- Line 294 Uncaught ReferenceError: resource is not defined (anonymous function)
I think I have traced the second error to an unassigned value in the resource variables named 'rooms'. I have put below the code that it applies to.
Line 291 contains this
Line 294 has this with the empty brackets in red that I think may be causing the problem.Code:function resource(name, type, years, quantities, readonly, multiroom, maxlessons, rooms, disclaimer, canshare, notes, allowance)
There doesn't appear to be a place in the config for this.Code:new resource("Test", "Room", [ "Year 7", "Year 8", "Year 9" ], [ "20" ], false, true, "0", [ ], "", false, false, null)
I think Home Access Plus+ - Source Code is the change that will get rid of those 2 errors.
There are currently 1 users browsing this thread. (0 members and 1 guests)