mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Removed Library Manager UI, moved library listing to prefs page.
This commit is contained in:
@@ -168,6 +168,24 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Behavior to initialize tooltips on elements with data-toggle="tooltip" attribute.
|
||||
*
|
||||
* @type {{attach: e107.behaviors.bootstrapTooltip.attach}}
|
||||
*/
|
||||
e107.behaviors.bootstrapTooltip = {
|
||||
attach: function (context, settings)
|
||||
{
|
||||
if(typeof $.fn.tooltip !== 'undefined')
|
||||
{
|
||||
$(context).find('[data-toggle="tooltip"]').once('bootstrap-tooltip').each(function ()
|
||||
{
|
||||
$(this).tooltip();
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Behavior to attach a click event to elements with .e-expandit class.
|
||||
*
|
||||
|
Reference in New Issue
Block a user