Revision 9bc1f99c
Added by Tomer Brisker over 8 years ago
app/assets/javascripts/application.js | ||
---|---|---|
|
||
|
||
//set the tooltips
|
||
$('a[rel="popover"]').popover({html: true});
|
||
$('a[rel="popover"]').popover();
|
||
$('[rel="twipsy"]').tooltip({ container: 'body' });
|
||
$('*[title]').not('*[rel]').tooltip();
|
||
$('[data-table=inline]').not('.dataTable').dataTable(
|
||
... | ... | |
});
|
||
$('#params-tab').removeClass("tab-error");
|
||
if ($("#params").find('.form-group.error').length > 0) $('#params-tab').addClass('tab-error');
|
||
$('a[rel="popover"]').popover({html: true});
|
||
$('a[rel="popover"]').popover();
|
||
}
|
||
|
||
function add_fields(link, association, content) {
|
||
... | ... | |
if (explicit === undefined) {
|
||
explicit = true;
|
||
}
|
||
|
||
|
||
item = $(item);
|
||
item.data('explicit', explicit);
|
||
var isActive = item.hasClass("active");
|
Also available in: Unified diff
Fixes #11388 - Popovers display with correct size and dismiss on next click