1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Basic per-item search engine robots handling added to News and Pages.

This commit is contained in:
Cameron
2019-12-02 13:32:21 -08:00
parent e1504b91c0
commit 5cf54d07d2
11 changed files with 80 additions and 3 deletions

View File

@@ -95,13 +95,21 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
placement = 'top';
}
// custom position defined in field-help container class
var custPlace = $fieldHelp.attr('data-placement'); // ie top|left|bottom|right
if(custPlace !== undefined)
{
placement = custPlace;
}
// custom position defined in selector tag.
var pos = $(this).attr('data-tooltip-position');
if(pos !== undefined)
{
placement = pos;
}
$fieldHelp.hide();
$this.tooltip({
@@ -568,6 +576,11 @@ $(document).ready(function()
$(this).multiselect({ buttonClass: 'btn btn-default'} );
}
/* optionLabel: function(element) {
return $(element).html() + '(' + $(element).val() + ')';
}*/
});