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:
@@ -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() + ')';
|
||||
}*/
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user