Initial commit

This commit is contained in:
2023-04-15 10:14:26 +02:00
commit ca4cc6ec1b
21 changed files with 816 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
$(document).ready(function() {
$('#wrapper').append('<div id="fb-wrapper"></div>');
var findLinks = function() {
var elements = [];
$('#new-object').closest('li').find('.menu-children a').each(function() {
elements.push({
url: $(this).prop('href'),
icon: '<i class="fb-icon icon-' + $(this).prop('class') + '" title="' + $(this).text() + '"></i>'
});
});
elements.push({
icon: '<i class="fb-icon icon-add"></i>'
});
return elements.reverse();
};
if ($('#new-object').get(0)) {
$('#fb-wrapper').jqueryFab(findLinks(), {});
}
});