Jump to content

Recommended Posts

Posted

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

 

function resource(name, type, years, quantities, readonly, multiroom, maxlessons, rooms, disclaimer, canshare, notes, allowance)

 

Line 294 has this with the empty brackets in red that I think may be causing the problem.

 

new resource("Test", "Room", [ "Year 7", "Year 8", "Year 9" ], [ "20" ], false, true, "0",[color=#ff0000] [  ][/color], "", false, false, null)

 

There doesn't appear to be a place in the config for this.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...