3145 |
25 Feb 15 |
nicklas |
var Protocol = function() |
3145 |
25 Feb 15 |
nicklas |
2 |
{ |
3145 |
25 Feb 15 |
nicklas |
var protocol = {}; |
3145 |
25 Feb 15 |
nicklas |
var debug = 0; |
3145 |
25 Feb 15 |
nicklas |
5 |
|
3145 |
25 Feb 15 |
nicklas |
// Page initialization |
3145 |
25 Feb 15 |
nicklas |
protocol.initPage = function() |
3145 |
25 Feb 15 |
nicklas |
8 |
{ |
3145 |
25 Feb 15 |
nicklas |
var pageId = Doc.getPageId(); |
3145 |
25 Feb 15 |
nicklas |
Buttons.addClickHandler('print-button', Wizard.goPrint); |
6721 |
03 May 22 |
nicklas |
if (Data.int('protocol-footer', 'num-with-labels') > 0) |
6721 |
03 May 22 |
nicklas |
12 |
{ |
6721 |
03 May 22 |
nicklas |
Doc.removeClass('all-protocol', 'nolabels'); |
6721 |
03 May 22 |
nicklas |
14 |
} |
3145 |
25 Feb 15 |
nicklas |
Doc.show('all-protocol'); |
3145 |
25 Feb 15 |
nicklas |
16 |
} |
3145 |
25 Feb 15 |
nicklas |
17 |
|
3145 |
25 Feb 15 |
nicklas |
return protocol; |
3145 |
25 Feb 15 |
nicklas |
19 |
}(); |
3145 |
25 Feb 15 |
nicklas |
20 |
|
3145 |
25 Feb 15 |
nicklas |
Doc.onLoad(Protocol.initPage); |
3145 |
25 Feb 15 |
nicklas |
22 |
|