forked from extern/egroupware
63 lines
989 B
JavaScript
63 lines
989 B
JavaScript
/**
|
|
* EGroupware Preferences
|
|
*
|
|
* @link https://www.egroupware.org
|
|
* @author Ralf Becker <rb-At-egroupware.org>
|
|
* @package preferences
|
|
*/
|
|
|
|
import {AppJS} from "../../api/js/jsapi/app_base.js";
|
|
|
|
/**
|
|
* JavaScript for WebAuthn
|
|
*
|
|
* @augments AppJS
|
|
*/
|
|
app.classes.preferences = AppJS.extend(
|
|
{
|
|
appname: 'preferences',
|
|
|
|
/**
|
|
* et2 widget container
|
|
*/
|
|
et2: null,
|
|
/**
|
|
* path widget
|
|
*/
|
|
|
|
/**
|
|
* Constructor
|
|
*
|
|
* @memberOf app.timesheet
|
|
*/
|
|
init: function()
|
|
{
|
|
// call parent
|
|
this._super.apply(this, arguments);
|
|
},
|
|
|
|
/**
|
|
* Destructor
|
|
*/
|
|
destroy: function()
|
|
{
|
|
delete this.et2;
|
|
// call parent
|
|
this._super.apply(this, arguments);
|
|
},
|
|
|
|
/**
|
|
* This function is called when the etemplate2 object is loaded
|
|
* and ready. If you must store a reference to the et2 object,
|
|
* make sure to clean it up in destroy().
|
|
*
|
|
* @param et2 etemplate2 Newly ready object
|
|
*/
|
|
et2_ready: function(et2)
|
|
{
|
|
// call parent
|
|
this._super.apply(this, arguments);
|
|
|
|
}
|
|
});
|