2bitcoder / Jquery-Gantt

A Gantt Plugin using Jquery, Backbone and Kinetic
19 stars 1 forks source link

additional url parameter #57

Closed 2bitcoder closed 9 years ago

2bitcoder commented 9 years ago

If added a new url parameter..

//needs updating in apps.js // detect API params from get, e.g. ?project=143&profile=17&sitekey=2b00da46b57c0395 var params = util.getURLParams(); if (params.project && params.profile && params.sitekey) { app.tasks.url = 'api/tasks/' + params.project + '/' + params.profile + '/' + params.sitekey; }

can you please update in github if your happy with the change.