}
/**
- * Disable auto-loading of the horde.js script.
- * Needs to auto-load by default for BC.
- *
- * @todo Remove for Horde 4
- */
- static public function disableAutoloadHordeJS()
- {
- $hsf = Horde_Script_Files::singleton();
- $hsf->disableAutoloadHordeJS();
- }
-
- /**
* Get a token for protecting a form.
*
* @param string $slug Slug name.
protected $_ptversions = array('tables.js', 'stripe.js');
/**
- * Auto load horde.js?
- *
- * @var boolean
- */
- protected $_loadhordejs = true;
-
- /**
* Singleton.
*/
static public function singleton()
}
/* Add general UI js library. */
- if ($this->_loadhordejs) {
- $this->_add('prototype.js', 'horde', true);
- $this->_add('horde.js', 'horde', true);
- }
+ $this->_add('tooltips.js', 'horde', true);
/* Add accesskeys.js if access keys are enabled. */
if ($GLOBALS['prefs']->getValue('widget_accesskey')) {
return $jslist;
}
- /**
- * Disable auto-loading of the horde.js script.
- * Needs to auto-load by default for BC.
- *
- * @todo Remove for Horde 4
- */
- public function disableAutoloadHordeJS()
- {
- $this->_loadhordejs = false;
- }
-
}