Annotation of kupuMPIWG/apache-lenya/kupu/lenya.js, revision 1.1.1.1

1.1       dwinter     1: /**
                      2:  * This file contains all Lenya specific functions needed to
                      3:  * initialize and register tools.
                      4:  * @version $Id: lenya.js 8771 2005-01-31 19:05:00Z gregor $
                      5:  */
                      6: function KupuLenyaDist(){
                      7:     this.isInit = false;
                      8:        
                      9:     this.exitKupuButtonHandler = function() {
                     10:         window.location.href = kupu.config.exit_destination        
                     11:     }
                     12:     
                     13:     this.init = function() {
                     14:         if(this.isInit) return;
                     15:         kupu.registerTool('savebutton', new KupuButton('kupu-exit-button', this.exitKupuButtonHandler));
                     16:         this.isInit = true;
                     17:     }
                     18:  }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>