Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/projects/behavior-project-boards.js
| Show First 20 Lines • Show All 228 Lines • ▼ Show 20 Lines | if (!statics.setup) { | ||||
| update_statics(config); | update_statics(config); | ||||
| var current_page_id = JX.Quicksand.getCurrentPageID(); | var current_page_id = JX.Quicksand.getCurrentPageID(); | ||||
| statics.boardConfigCache = {}; | statics.boardConfigCache = {}; | ||||
| statics.boardConfigCache[current_page_id] = config; | statics.boardConfigCache[current_page_id] = config; | ||||
| statics.setup = setup(); | statics.setup = setup(); | ||||
| } | } | ||||
| if (!statics.workboard) { | if (!statics.workboard) { | ||||
| statics.workboard = new JX.Workboard(config); | statics.workboard = new JX.Workboard(config) | ||||
| .setUploadURI(config.uploadURI) | |||||
| .setCoverURI(config.coverURI) | |||||
| .setMoveURI(config.moveURI) | |||||
| .setChunkThreshold(config.chunkThreshold) | |||||
| .start(); | |||||
| } | } | ||||
| statics.workboard.addBoard(config.projectPHID, JX.$(config.boardID)); | statics.workboard.addBoard(config.projectPHID, JX.$(config.boardID)); | ||||
| }); | }); | ||||