Add tooltipe to PE
This commit is contained in:
parent
d8cb7fb985
commit
f82c125b9f
|
@ -795,6 +795,15 @@ define([
|
||||||
scope: this,
|
scope: this,
|
||||||
docs: this.options[0].docs
|
docs: this.options[0].docs
|
||||||
}));
|
}));
|
||||||
|
var docs=this.options[0].docs;
|
||||||
|
var thumbsElm= this.$el.find('.thumb-wrap');
|
||||||
|
_.each(thumbsElm, function (tmb, index){
|
||||||
|
//var chFirst=$(tmb).children(':first');
|
||||||
|
$(tmb).tooltip({
|
||||||
|
title : docs[index].title,
|
||||||
|
placement : 'bottom'||'coursor'
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
if (_.isUndefined(this.scroller)) {
|
if (_.isUndefined(this.scroller)) {
|
||||||
this.scroller = new Common.UI.Scroller({
|
this.scroller = new Common.UI.Scroller({
|
||||||
|
|
Loading…
Reference in a new issue