mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
fixed formatting with 8 space instead tab and EGroupware name
This commit is contained in:
parent
570b933331
commit
33e750d663
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* eGroupWare eTemplate2 - JS Select account widget
|
* EGroupware eTemplate2 - JS Select account widget
|
||||||
*
|
*
|
||||||
* Selecting accounts needs special UI, and displaying needs special consideration
|
* Selecting accounts needs special UI, and displaying needs special consideration
|
||||||
* to avoid sending the entire user list to the client.
|
* to avoid sending the entire user list to the client.
|
||||||
@ -9,14 +9,14 @@
|
|||||||
* @subpackage api
|
* @subpackage api
|
||||||
* @link http://www.egroupware.org
|
* @link http://www.egroupware.org
|
||||||
* @author Nathan Gray
|
* @author Nathan Gray
|
||||||
* @copyright Nathan Gray 2011
|
* @copyright Nathan Gray 2012
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
/*egw:uses
|
/*egw:uses
|
||||||
et2_widget_link;
|
et2_widget_link;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -26,7 +26,7 @@
|
|||||||
*/
|
*/
|
||||||
var et2_selectAccount_ro = et2_link.extend([et2_IDetachedDOM], {
|
var et2_selectAccount_ro = et2_link.extend([et2_IDetachedDOM], {
|
||||||
|
|
||||||
init: function(_parent, options) {
|
init: function(_parent, options) {
|
||||||
/**
|
/**
|
||||||
Resolve some circular dependency problems here
|
Resolve some circular dependency problems here
|
||||||
selectAccount extends link, link is in a file that needs select,
|
selectAccount extends link, link is in a file that needs select,
|
||||||
@ -37,13 +37,12 @@ var et2_selectAccount_ro = et2_link.extend([et2_IDetachedDOM], {
|
|||||||
_parent.supportedWidgetClasses.push(et2_selectAccount_ro);
|
_parent.supportedWidgetClasses.push(et2_selectAccount_ro);
|
||||||
}
|
}
|
||||||
|
|
||||||
this._super.apply(this, arguments);
|
this._super.apply(this, arguments);
|
||||||
|
|
||||||
this.options.application = 'home-accounts';
|
this.options.application = 'home-accounts';
|
||||||
|
|
||||||
// Don't make it look like a link though
|
// Don't make it look like a link though
|
||||||
this.link.removeClass("et2_link");
|
this.link.removeClass("et2_link");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
et2_register_widget(et2_selectAccount_ro, ["select-account_ro"]);
|
et2_register_widget(et2_selectAccount_ro, ["select-account_ro"]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user