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$
|
|
|
|
*/
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
/*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
|
2013-04-13 21:00:13 +02:00
|
|
|
*
|
|
|
|
* @augments et2_baseWidget
|
2011-08-21 15:24:20 +02:00
|
|
|
*/
|
2013-04-13 21:00:13 +02:00
|
|
|
var et2_hrule = et2_baseWidget.extend(
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Constructor
|
|
|
|
*
|
|
|
|
* @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"));
|
|
|
|
}
|
|
|
|
});
|
|
|
|
et2_register_widget(et2_hrule, ["hrule"]);
|
|
|
|
|