src/js/libs/spiritual-gui.js
function(a) {
		gui.Spirit.prototype.onaction.call(this, a);
		this.action.$handleownaction = false;
		switch (a.type) {
			case gui.$ACTION_XFRAME_VISIBILITY:
				this._waiting = false;
				if (gui.hasModule("gui-layout@wunderbyte.com")) { // TODO: - fix
					if (a.data === true) {
						this.visibility.on();
					} else {
						this.visibility.off();
					}
				}
				a.consume();
				break;
		}
	}
function(a) {
		gui.Spirit.prototype.onaction.call(this, a);
		this.action.$handleownaction = false;
		switch (a.type) {
			case gui.$ACTION_XFRAME_VISIBILITY:
				this._waiting = false;
				if (gui.hasModule("gui-layout@wunderbyte.com")) { // TODO: - fix
					if (a.data === true) {
						this.visibility.on();
					} else {
						this.visibility.off();
					}
				}
				a.consume();
				break;
		}
	}
function ( a ) { gui . Spirit . prototype . onaction . call ( this , a ) ; this . action . $handleownaction = false ; switch ( a . type ) { case gui . $ACTION_XFRAME_VISIBILITY : this . _waiting = false ; if ( gui . hasModule ( "gui-layout@wunderbyte.com" ) ) { // TODO: - fix if ( a . data === true ) { this . visibility . on ( ) ; } else { this . visibility . off ( ) ; } } a . consume ( ) ; break ; } }
Handle action.s
@param {gui.Action} a
Handle action . s