extensions/net.sf.basedb.reggie/trunk/resources/sampleproc/reextract_picklist.js

Code
Comments
Other
Rev Date Author Line
3145 25 Feb 15 nicklas 1 var Protocol = function()
3145 25 Feb 15 nicklas 2 {
3145 25 Feb 15 nicklas 3   var protocol = {};
3145 25 Feb 15 nicklas 4   var debug = 0;
3145 25 Feb 15 nicklas 5   
3145 25 Feb 15 nicklas 6   // Page initialization
3145 25 Feb 15 nicklas 7   protocol.initPage = function()
3145 25 Feb 15 nicklas 8   {
3145 25 Feb 15 nicklas 9     var pageId = Doc.getPageId();
3145 25 Feb 15 nicklas 10     Buttons.addClickHandler('print-button', Wizard.goPrint);  
6721 03 May 22 nicklas 11     if (Data.int('protocol-footer', 'num-with-labels') > 0)
6721 03 May 22 nicklas 12     {
6721 03 May 22 nicklas 13       Doc.removeClass('all-protocol', 'nolabels');
6721 03 May 22 nicklas 14     }
3145 25 Feb 15 nicklas 15     Doc.show('all-protocol');
3145 25 Feb 15 nicklas 16   }
3145 25 Feb 15 nicklas 17
3145 25 Feb 15 nicklas 18   return protocol;
3145 25 Feb 15 nicklas 19 }();
3145 25 Feb 15 nicklas 20
3145 25 Feb 15 nicklas 21 Doc.onLoad(Protocol.initPage);
3145 25 Feb 15 nicklas 22