2011-08-21 15:24:20 +02:00
|
|
|
/**
|
2013-04-13 21:00:13 +02:00
|
|
|
* EGroupware eTemplate2 - JS HRule object
|
2011-08-21 15:24:20 +02:00
|
|
|
*
|
|
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
|
|
* @package etemplate
|
|
|
|
* @subpackage api
|
|
|
|
* @link http://www.egroupware.org
|
|
|
|
* @author Andreas Stöckel
|
|
|
|
* @copyright Stylite 2011
|
|
|
|
* @version $Id$
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*egw:uses
|
2011-08-24 12:18:07 +02:00
|
|
|
et2_core_baseWidget;
|
2011-08-21 15:24:20 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class which implements the hrule tag
|
2016-02-29 21:40:43 +01:00
|
|
|
*
|
2013-04-13 21:00:13 +02:00
|
|
|
* @augments et2_baseWidget
|
2016-02-29 21:40:43 +01:00
|
|
|
*/
|
|
|
|
var et2_hrule = (function(){ "use strict"; return et2_baseWidget.extend(
|
2013-04-13 21:00:13 +02:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Constructor
|
2016-02-29 21:40:43 +01:00
|
|
|
*
|
2013-04-13 21:00:13 +02:00
|
|
|
* @memberOf et2_hrule
|
|
|
|
*/
|
2011-08-24 12:05:52 +02:00
|
|
|
init: function() {
|
2011-08-21 15:24:20 +02:00
|
|
|
this._super.apply(this, arguments);
|
|
|
|
|
|
|
|
this.setDOMNode(document.createElement("hr"));
|
|
|
|
}
|
2016-02-29 21:40:43 +01:00
|
|
|
});}).call(this);
|
2011-08-21 15:24:20 +02:00
|
|
|
et2_register_widget(et2_hrule, ["hrule"]);
|
|
|
|
|