File:  [Repository] / kupuMPIWG / apache-lenya / kupu / lenya.js
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Aug 30 17:10:22 2005 UTC (18 years, 10 months ago) by dwinter
Branches: first, MAIN
CVS tags: alpha, HEAD


/**
 * This file contains all Lenya specific functions needed to
 * initialize and register tools.
 * @version $Id: lenya.js,v 1.1.1.1 2005/08/30 17:10:22 dwinter Exp $
 */
function KupuLenyaDist(){
    this.isInit = false;
       
    this.exitKupuButtonHandler = function() {
        window.location.href = kupu.config.exit_destination        
    }
    
    this.init = function() {
        if(this.isInit) return;
        kupu.registerTool('savebutton', new KupuButton('kupu-exit-button', this.exitKupuButtonHandler));
        this.isInit = true;
    }
 }

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