2826 |
16 Oct 14 |
nicklas |
var Cufflinks = function() |
2826 |
16 Oct 14 |
nicklas |
2 |
{ |
2826 |
16 Oct 14 |
nicklas |
var cufflinks = {}; |
2853 |
23 Oct 14 |
nicklas |
var debug = 0; |
2826 |
16 Oct 14 |
nicklas |
5 |
|
2826 |
16 Oct 14 |
nicklas |
var JOB_IMAGE = { 'DONE': 'ok.png', 'ERROR': 'error.png'}; |
2826 |
16 Oct 14 |
nicklas |
var rawBioAssays; |
2826 |
16 Oct 14 |
nicklas |
8 |
|
2826 |
16 Oct 14 |
nicklas |
// Page initialization |
2826 |
16 Oct 14 |
nicklas |
cufflinks.initPage = function() |
2826 |
16 Oct 14 |
nicklas |
11 |
{ |
2826 |
16 Oct 14 |
nicklas |
12 |
|
2826 |
16 Oct 14 |
nicklas |
// Step 1 |
2826 |
16 Oct 14 |
nicklas |
14 |
|
2826 |
16 Oct 14 |
nicklas |
// Navigation |
2826 |
16 Oct 14 |
nicklas |
Buttons.addClickHandler('gocancel', Wizard.cancelWizard); |
2826 |
16 Oct 14 |
nicklas |
Buttons.addClickHandler('gorestart', Wizard.restartWizard); |
2826 |
16 Oct 14 |
nicklas |
Buttons.addClickHandler('gonext', Wizard.goNextOnClick); |
2826 |
16 Oct 14 |
nicklas |
Buttons.addClickHandler('goregister', Wizard.goRegister); |
2826 |
16 Oct 14 |
nicklas |
20 |
|
2826 |
16 Oct 14 |
nicklas |
// Final registration |
2826 |
16 Oct 14 |
nicklas |
Events.addEventHandler('wizard', 'wizard-submit', cufflinks.submit); |
2826 |
16 Oct 14 |
nicklas |
23 |
|
2826 |
16 Oct 14 |
nicklas |
Wizard.showLoadingAnimation('Loading bioassays...'); |
2826 |
16 Oct 14 |
nicklas |
var url = '../Cufflinks.servlet?ID='+App.getSessionId(); |
2826 |
16 Oct 14 |
nicklas |
url += '&cmd=GetUnconfirmed'; |
2826 |
16 Oct 14 |
nicklas |
Wizard.asyncJsonRequest(url, cufflinks.initializeStep1); |
2826 |
16 Oct 14 |
nicklas |
28 |
} |
2826 |
16 Oct 14 |
nicklas |
29 |
|
2826 |
16 Oct 14 |
nicklas |
// --- Step 1 ----------------------------------- |
2826 |
16 Oct 14 |
nicklas |
cufflinks.initializeStep1 = function(response) |
2826 |
16 Oct 14 |
nicklas |
32 |
{ |
2826 |
16 Oct 14 |
nicklas |
rawBioAssays = response.rawBioAssays; |
2826 |
16 Oct 14 |
nicklas |
if (rawBioAssays.length == 0) |
2826 |
16 Oct 14 |
nicklas |
35 |
{ |
2826 |
16 Oct 14 |
nicklas |
Wizard.setFatalError('No raw bioassays available for processing.'); |
2826 |
16 Oct 14 |
nicklas |
return; |
2826 |
16 Oct 14 |
nicklas |
38 |
} |
2826 |
16 Oct 14 |
nicklas |
39 |
|
2826 |
16 Oct 14 |
nicklas |
var html = '<table id="rawBioAssaysTable">'; |
3026 |
11 Dec 14 |
nicklas |
html += '<thead class="bg-filled-100">'; |
2826 |
16 Oct 14 |
nicklas |
// Header row |
2826 |
16 Oct 14 |
nicklas |
html += '<tr>'; |
2826 |
16 Oct 14 |
nicklas |
html += '<th></th>'; |
2826 |
16 Oct 14 |
nicklas |
html += '<th class="dottedleft"></th>'; |
4542 |
26 Jun 17 |
nicklas |
html += '<th class="dottedleft" colspan="6">Reads</th>'; |
4540 |
22 Jun 17 |
nicklas |
html += '<th class="dottedleft" colspan="3">Cufflinks</th>' |
2826 |
16 Oct 14 |
nicklas |
html += '<th class="dottedleft" colspan="3">Actions</th>'; |
2826 |
16 Oct 14 |
nicklas |
html += '<th class="dottedleft">Comment</th>'; |
2826 |
16 Oct 14 |
nicklas |
html += '</tr>'; |
2826 |
16 Oct 14 |
nicklas |
51 |
|
2826 |
16 Oct 14 |
nicklas |
html += '<tr>'; |
2826 |
16 Oct 14 |
nicklas |
html += '<th>Library</th>'; |
2826 |
16 Oct 14 |
nicklas |
html += '<th class="dottedleft">Plate</th>'; |
4542 |
26 Jun 17 |
nicklas |
html += '<th class="dottedleft">PF_READS</th>'; |
4542 |
26 Jun 17 |
nicklas |
html += '<th>PT_READS</th>'; |
4542 |
26 Jun 17 |
nicklas |
html += '<th>PM_READS</th>'; |
4542 |
26 Jun 17 |
nicklas |
html += '<th>ALIGNED_PAIRS</th>'; |
4542 |
26 Jun 17 |
nicklas |
html += '<th>Duplicates</th>' |
4542 |
26 Jun 17 |
nicklas |
html += '<th class="warning-col"></th>'; |
4540 |
22 Jun 17 |
nicklas |
html += '<th class="dottedleft">Job</th>' |
4540 |
22 Jun 17 |
nicklas |
html += '<th>FPKM</th>'; |
4540 |
22 Jun 17 |
nicklas |
html += '<th>Files</th>'; |
6670 |
07 Apr 22 |
nicklas |
html += '<th class="dottedleft"><span id="flagrna" data-prefix="flag" class="interactable link" title="Toggle selection – use CTRL, ALT or SHIFT to clear">Flag RNA</span></th>'; |
6670 |
07 Apr 22 |
nicklas |
html += '<th><span id="rerun" data-prefix="rerun" class="interactable link" title="Toggle selection – use CTRL, ALT or SHIFT to clear">Re-run</span></th>'; |
6670 |
07 Apr 22 |
nicklas |
html += '<th><span id="geneReport" data-prefix="geneReport" class="interactable link" title="Toggle selection – use CTRL, ALT or SHIFT to clear">Gene report</span></th>'; |
2826 |
16 Oct 14 |
nicklas |
html += '<th class="dottedleft"></th>'; |
2826 |
16 Oct 14 |
nicklas |
html += '</tr>'; |
2826 |
16 Oct 14 |
nicklas |
html += '</thead>'; |
2826 |
16 Oct 14 |
nicklas |
html += '<tbody>'; |
2826 |
16 Oct 14 |
nicklas |
var numWithError = 0; |
3768 |
24 Feb 16 |
nicklas |
var yellowImg = '<img src="../images/yellow-label.png">'; |
2826 |
16 Oct 14 |
nicklas |
for (var rawNo = 0; rawNo < rawBioAssays.length; rawNo++) |
2826 |
16 Oct 14 |
nicklas |
74 |
{ |
2826 |
16 Oct 14 |
nicklas |
var raw = rawBioAssays[rawNo]; |
2826 |
16 Oct 14 |
nicklas |
76 |
|
2826 |
16 Oct 14 |
nicklas |
var lib = raw.lib; |
4542 |
26 Jun 17 |
nicklas |
var aligned = raw.aligned; |
4542 |
26 Jun 17 |
nicklas |
var masked = raw.masked; |
4542 |
26 Jun 17 |
nicklas |
var merged = raw.merged; |
4542 |
26 Jun 17 |
nicklas |
81 |
|
2826 |
16 Oct 14 |
nicklas |
lib.stratagene = Reggie.isStratagene(lib.name); |
2826 |
16 Oct 14 |
nicklas |
lib.external = Reggie.isExternal(lib.name); |
3768 |
24 Feb 16 |
nicklas |
var isYellow = lib.specimen && lib.specimen.YellowLabel != null; |
3768 |
24 Feb 16 |
nicklas |
var img = isYellow ? yellowImg : ''; |
2960 |
19 Nov 14 |
nicklas |
var libPlate = lib.bioWell ? lib.bioWell.bioPlate : null; |
2826 |
16 Oct 14 |
nicklas |
87 |
|
4542 |
26 Jun 17 |
nicklas |
var pfReads = merged.PF_READS == null ? '-' : Reggie.formatNumber(merged.PF_READS/1000000, null, 2) |
4542 |
26 Jun 17 |
nicklas |
var ptReads = merged.PT_READS == null ? '-' : Reggie.formatNumber(merged.PT_READS/1000000, null, 2) |
4542 |
26 Jun 17 |
nicklas |
var maskedReads = masked.PM_READS == null ? '-' : Reggie.formatNumber(masked.PM_READS/1000000, null, 2) |
4542 |
26 Jun 17 |
nicklas |
var alignedReads = aligned.ALIGNED_PAIRS == null ? '-' : Reggie.formatNumber(aligned.ALIGNED_PAIRS/1000000, null, 2); |
4542 |
26 Jun 17 |
nicklas |
var ptPercent = merged.PF_READS && merged.PT_READS ? ' (' + Math.round(100*merged.PT_READS/merged.PF_READS) + '%)' : ''; |
4542 |
26 Jun 17 |
nicklas |
var alignedPercent = aligned.ALIGNED_PAIRS && merged.PF_READS ? ' (' + Math.round(100*aligned.ALIGNED_PAIRS/merged.PF_READS) + '%)' : ''; |
4542 |
26 Jun 17 |
nicklas |
var percentDuplicates = aligned.FRACTION_DUPLICATION == null ? '-' : Math.round(100*aligned.FRACTION_DUPLICATION)+'%'; |
4542 |
26 Jun 17 |
nicklas |
95 |
|
2826 |
16 Oct 14 |
nicklas |
var cufflinksJob = raw.cufflinksJob; |
4542 |
26 Jun 17 |
nicklas |
var limits = cufflinksJob.limits; |
2826 |
16 Oct 14 |
nicklas |
var isError = false; |
4542 |
26 Jun 17 |
nicklas |
var flagChecked = false; |
2826 |
16 Oct 14 |
nicklas |
100 |
|
3768 |
24 Feb 16 |
nicklas |
html += '<tr class="highlight ' + (rawNo % 4 < 2 ? 'evenrow' : 'oddrow') + (isYellow ? ' yellow-specimen' : '') + '">'; |
3768 |
24 Feb 16 |
nicklas |
html += '<td class="prompt if-yellow">'+img+Strings.encodeTags(raw.name)+'</td>'; |
2960 |
19 Nov 14 |
nicklas |
html += '<td class="dottedleft">'+(libPlate ? Strings.encodeTags(libPlate.name) : '-') +'</td>'; |
2826 |
16 Oct 14 |
nicklas |
104 |
|
4542 |
26 Jun 17 |
nicklas |
html += '<td class="dottedleft">'+pfReads+'</td>'; |
4542 |
26 Jun 17 |
nicklas |
html += '<td>'+ptReads+ptPercent+'</td>'; |
4542 |
26 Jun 17 |
nicklas |
html += '<td>'+maskedReads+'</td>'; |
4542 |
26 Jun 17 |
nicklas |
html += '<td>'+alignedReads+alignedPercent+'</td>'; |
4542 |
26 Jun 17 |
nicklas |
html += '<td>'+percentDuplicates+'</td>'; |
4542 |
26 Jun 17 |
nicklas |
html += '<td class="warning-col">'; |
5663 |
11 Oct 19 |
nicklas |
if (aligned.ALIGNED_PAIRS != null && aligned.ALIGNED_PAIRS < limits.minAlignedPairsFlag) |
4542 |
26 Jun 17 |
nicklas |
112 |
{ |
4542 |
26 Jun 17 |
nicklas |
html += '<img src="../images/warning.png" title="Less than '+Reggie.formatCount(limits.minAlignedPairsFlag) + ' aligned pairs">'; |
4542 |
26 Jun 17 |
nicklas |
flagChecked = true; |
4542 |
26 Jun 17 |
nicklas |
115 |
} |
4542 |
26 Jun 17 |
nicklas |
html += '</td>'; |
4542 |
26 Jun 17 |
nicklas |
117 |
|
2826 |
16 Oct 14 |
nicklas |
html += '<td class="dottedleft">'; |
2826 |
16 Oct 14 |
nicklas |
if (cufflinksJob) |
2826 |
16 Oct 14 |
nicklas |
120 |
{ |
2826 |
16 Oct 14 |
nicklas |
isError |= cufflinksJob.status == 'ERROR'; |
4540 |
22 Jun 17 |
nicklas |
var image = JOB_IMAGE[cufflinksJob.status]; |
4540 |
22 Jun 17 |
nicklas |
if (!isError && !raw.fpkmFile) image = 'warning.png'; |
4540 |
22 Jun 17 |
nicklas |
html += '<span class="link item-link" data-item-type="JOB" data-item-id="'+cufflinksJob.id+'" title="'+Strings.encodeTags(cufflinksJob.statusMessage)+'"><img src="../images/'+image+'"></span>'; |
2826 |
16 Oct 14 |
nicklas |
125 |
} |
2826 |
16 Oct 14 |
nicklas |
html += '</td>'; |
2826 |
16 Oct 14 |
nicklas |
html += '<td>'; |
4540 |
22 Jun 17 |
nicklas |
html += raw.fpkmFile ? 'Yes' : 'No'; |
2826 |
16 Oct 14 |
nicklas |
html += '</td>'; |
4540 |
22 Jun 17 |
nicklas |
130 |
|
4545 |
28 Jun 17 |
nicklas |
if (raw.DataFilesFolder && cufflinksJob && cufflinksJob.server) |
2826 |
16 Oct 14 |
nicklas |
132 |
{ |
4540 |
22 Jun 17 |
nicklas |
html += '<td>'; |
4545 |
28 Jun 17 |
nicklas |
html += '<span class="link file-link" data-server="'+Strings.encodeTags(cufflinksJob.server)+'" data-folder="'+Strings.encodeTags(raw.DataFilesFolder)+'" data-item-id="'+aligned.id+'" title="View generated files"><img src="../images/remote_folder.png"></span>'; |
2826 |
16 Oct 14 |
nicklas |
html += '</td>'; |
2826 |
16 Oct 14 |
nicklas |
136 |
} |
2826 |
16 Oct 14 |
nicklas |
else |
2826 |
16 Oct 14 |
nicklas |
138 |
{ |
4540 |
22 Jun 17 |
nicklas |
html += '<td>-</td>'; |
2826 |
16 Oct 14 |
nicklas |
140 |
} |
2826 |
16 Oct 14 |
nicklas |
// Do not allow flagging external or stratagene |
4540 |
22 Jun 17 |
nicklas |
var geneReportChecked = raw.fpkmFile && !isError ? ' checked' : ''; |
2826 |
16 Oct 14 |
nicklas |
var reRunChecked = isError ? ' checked' : ''; |
4540 |
22 Jun 17 |
nicklas |
var geneReportDisabled = isError || !raw.fpkmFile ? ' disabled' : ''; |
2826 |
16 Oct 14 |
nicklas |
if (isError) numWithError++; |
2826 |
16 Oct 14 |
nicklas |
146 |
|
2826 |
16 Oct 14 |
nicklas |
if (lib.stratagene || lib.external) |
2826 |
16 Oct 14 |
nicklas |
148 |
{ |
2826 |
16 Oct 14 |
nicklas |
html += '<td class="dottedleft">-</td>'; |
2826 |
16 Oct 14 |
nicklas |
150 |
} |
2826 |
16 Oct 14 |
nicklas |
else |
2826 |
16 Oct 14 |
nicklas |
152 |
{ |
4542 |
26 Jun 17 |
nicklas |
html += '<td class="dottedleft"><input type="checkbox" name="flag.'+raw.id+'"'+(flagChecked ? ' checked':'')+'></td>'; |
2826 |
16 Oct 14 |
nicklas |
154 |
} |
2826 |
16 Oct 14 |
nicklas |
155 |
|
2826 |
16 Oct 14 |
nicklas |
html += '<td><input type="checkbox" name="rerun.'+raw.id+'"'+reRunChecked+'></td>'; |
2878 |
30 Oct 14 |
nicklas |
html += '<td><input type="checkbox" name="geneReport.'+raw.id+'"'+geneReportChecked+geneReportDisabled+'></td>'; |
2826 |
16 Oct 14 |
nicklas |
html += '<td class="dottedleft comment"><input type="text" name="comment.'+raw.id+'"></td>'; |
2826 |
16 Oct 14 |
nicklas |
html += '</tr>'; |
2826 |
16 Oct 14 |
nicklas |
160 |
|
2826 |
16 Oct 14 |
nicklas |
161 |
} |
2826 |
16 Oct 14 |
nicklas |
html += '</tbody>'; |
2826 |
16 Oct 14 |
nicklas |
html += '</table>'; |
2826 |
16 Oct 14 |
nicklas |
Doc.element('rawBioAssays').innerHTML = html; |
2826 |
16 Oct 14 |
nicklas |
if (numWithError > 0) Doc.show('delete-items', 'table'); |
6670 |
07 Apr 22 |
nicklas |
166 |
|
6670 |
07 Apr 22 |
nicklas |
Events.addEventHandler('flagrna', 'click', cufflinks.toggleSelection); |
6670 |
07 Apr 22 |
nicklas |
Events.addEventHandler('rerun', 'click', cufflinks.toggleSelection); |
6670 |
07 Apr 22 |
nicklas |
Events.addEventHandler('geneReport', 'click', cufflinks.toggleSelection); |
6670 |
07 Apr 22 |
nicklas |
170 |
|
2826 |
16 Oct 14 |
nicklas |
// Add click handler to items |
2826 |
16 Oct 14 |
nicklas |
var clickableItems = document.getElementsByClassName('item-link'); |
2826 |
16 Oct 14 |
nicklas |
for (var i = 0; i < clickableItems.length; i++) |
2826 |
16 Oct 14 |
nicklas |
174 |
{ |
2826 |
16 Oct 14 |
nicklas |
Events.addEventHandler(clickableItems[i], 'click', Items.itemOnClick); |
2826 |
16 Oct 14 |
nicklas |
176 |
} |
2826 |
16 Oct 14 |
nicklas |
177 |
|
2826 |
16 Oct 14 |
nicklas |
// Add click handler to file links |
2826 |
16 Oct 14 |
nicklas |
var clickableItems = document.getElementsByClassName('file-link'); |
2826 |
16 Oct 14 |
nicklas |
for (var i = 0; i < clickableItems.length; i++) |
2826 |
16 Oct 14 |
nicklas |
181 |
{ |
2826 |
16 Oct 14 |
nicklas |
Events.addEventHandler(clickableItems[i], 'click', cufflinks.fileLinkOnClick); |
2826 |
16 Oct 14 |
nicklas |
183 |
} |
2826 |
16 Oct 14 |
nicklas |
184 |
|
2826 |
16 Oct 14 |
nicklas |
Doc.show('step-1'); |
2826 |
16 Oct 14 |
nicklas |
Doc.show('goregister'); |
2826 |
16 Oct 14 |
nicklas |
187 |
} |
2826 |
16 Oct 14 |
nicklas |
188 |
|
2826 |
16 Oct 14 |
nicklas |
cufflinks.fileLinkOnClick = function(event) |
2826 |
16 Oct 14 |
nicklas |
190 |
{ |
2826 |
16 Oct 14 |
nicklas |
var folder = Data.get(event.currentTarget, 'folder'); |
2826 |
16 Oct 14 |
nicklas |
var server = Data.get(event.currentTarget, 'server'); |
2826 |
16 Oct 14 |
nicklas |
var itemId = Data.get(event.currentTarget, 'item-id'); |
2826 |
16 Oct 14 |
nicklas |
server = server.replace(/\s*\[.*\]/, ''); |
2826 |
16 Oct 14 |
nicklas |
var url = 'view_remote_files.jsp?ID=' + App.getSessionId(); |
2826 |
16 Oct 14 |
nicklas |
url += '&clusterId='+server; |
2826 |
16 Oct 14 |
nicklas |
url += '&path='+encodeURIComponent(folder); |
4542 |
26 Jun 17 |
nicklas |
url += '&itemType=DERIVEDBIOASSAY&itemId='+itemId; |
2826 |
16 Oct 14 |
nicklas |
Dialogs.openPopup(url, 'ViewProjectFiles', 750, 500); |
2826 |
16 Oct 14 |
nicklas |
200 |
} |
2826 |
16 Oct 14 |
nicklas |
201 |
|
6670 |
07 Apr 22 |
nicklas |
cufflinks.toggleSelection = function(event) |
6670 |
07 Apr 22 |
nicklas |
203 |
{ |
6670 |
07 Apr 22 |
nicklas |
var prefix = Data.get(event.currentTarget, 'prefix'); |
6670 |
07 Apr 22 |
nicklas |
var specialKey = event.altKey || event.ctrlKey || event.shiftKey; |
6670 |
07 Apr 22 |
nicklas |
206 |
|
6670 |
07 Apr 22 |
nicklas |
var frm = document.forms['reggie']; |
6670 |
07 Apr 22 |
nicklas |
for (var rawNo = 0; rawNo < rawBioAssays.length; rawNo++) |
6670 |
07 Apr 22 |
nicklas |
209 |
{ |
6670 |
07 Apr 22 |
nicklas |
var raw = rawBioAssays[rawNo]; |
6670 |
07 Apr 22 |
nicklas |
var chk = frm[prefix+'.'+raw.id]; |
6670 |
07 Apr 22 |
nicklas |
if (chk && !chk.disabled) |
6670 |
07 Apr 22 |
nicklas |
213 |
{ |
6670 |
07 Apr 22 |
nicklas |
chk.checked = specialKey ? false : !chk.checked; |
6670 |
07 Apr 22 |
nicklas |
215 |
} |
6670 |
07 Apr 22 |
nicklas |
216 |
} |
6670 |
07 Apr 22 |
nicklas |
217 |
} |
6670 |
07 Apr 22 |
nicklas |
218 |
|
2826 |
16 Oct 14 |
nicklas |
cufflinks.submit = function() |
2826 |
16 Oct 14 |
nicklas |
220 |
{ |
2826 |
16 Oct 14 |
nicklas |
var frm = document.forms['reggie']; |
2826 |
16 Oct 14 |
nicklas |
var submitInfo = {}; |
2826 |
16 Oct 14 |
nicklas |
submitInfo.deleteItemsCreatedByFailedJobs = frm.deleteItemsCreatedByFailedJobs.checked; |
2826 |
16 Oct 14 |
nicklas |
224 |
|
2826 |
16 Oct 14 |
nicklas |
var all = []; |
2826 |
16 Oct 14 |
nicklas |
submitInfo.rawBioAssays = all; |
2826 |
16 Oct 14 |
nicklas |
for (var rawNo = 0; rawNo < rawBioAssays.length; rawNo++) |
2826 |
16 Oct 14 |
nicklas |
228 |
{ |
2826 |
16 Oct 14 |
nicklas |
var raw = rawBioAssays[rawNo]; |
2826 |
16 Oct 14 |
nicklas |
var tmp = {}; |
2826 |
16 Oct 14 |
nicklas |
tmp.id = raw.id; |
2826 |
16 Oct 14 |
nicklas |
232 |
|
2826 |
16 Oct 14 |
nicklas |
tmp.flag = frm['flag.'+raw.id] && frm['flag.'+raw.id].checked; |
2826 |
16 Oct 14 |
nicklas |
tmp.rerun = frm['rerun.'+raw.id].checked; |
2878 |
30 Oct 14 |
nicklas |
tmp.geneReport = frm['geneReport.'+raw.id].checked; |
2826 |
16 Oct 14 |
nicklas |
tmp.comment = frm['comment.'+raw.id].value; |
2826 |
16 Oct 14 |
nicklas |
237 |
|
2826 |
16 Oct 14 |
nicklas |
all[all.length] = tmp; |
2826 |
16 Oct 14 |
nicklas |
239 |
} |
2826 |
16 Oct 14 |
nicklas |
240 |
|
2826 |
16 Oct 14 |
nicklas |
var url = '../Cufflinks.servlet?ID='+App.getSessionId(); |
2826 |
16 Oct 14 |
nicklas |
url += '&cmd=RegisterCufflinks'; |
2826 |
16 Oct 14 |
nicklas |
Wizard.showLoadingAnimation('Performing registration...'); |
2826 |
16 Oct 14 |
nicklas |
Wizard.asyncJsonRequest(url, cufflinks.submissionResults, 'POST', JSON.stringify(submitInfo)); |
2826 |
16 Oct 14 |
nicklas |
245 |
} |
2826 |
16 Oct 14 |
nicklas |
246 |
|
2826 |
16 Oct 14 |
nicklas |
cufflinks.submissionResults = function(response) |
2826 |
16 Oct 14 |
nicklas |
248 |
{ |
2826 |
16 Oct 14 |
nicklas |
Wizard.showFinalMessage(response.messages); |
2826 |
16 Oct 14 |
nicklas |
Doc.show('gorestart'); |
2826 |
16 Oct 14 |
nicklas |
251 |
} |
2826 |
16 Oct 14 |
nicklas |
252 |
|
2826 |
16 Oct 14 |
nicklas |
253 |
|
2826 |
16 Oct 14 |
nicklas |
return cufflinks; |
2826 |
16 Oct 14 |
nicklas |
255 |
}(); |
2826 |
16 Oct 14 |
nicklas |
256 |
|
2826 |
16 Oct 14 |
nicklas |
Doc.onLoad(Cufflinks.initPage); |
2826 |
16 Oct 14 |
nicklas |
258 |
|