CC-4800: Soundcloud icon qtips do not work and have wrong colour scheme
-fixed
This commit is contained in:
parent
67df511ab8
commit
cffad91840
|
@ -1051,6 +1051,9 @@ function addQtipToSCIcons(){
|
||||||
my: "left top",
|
my: "left top",
|
||||||
viewport: $(window)
|
viewport: $(window)
|
||||||
},
|
},
|
||||||
|
style: {
|
||||||
|
classes: "ui-tooltip-dark file-md-long"
|
||||||
|
},
|
||||||
show: {
|
show: {
|
||||||
ready: true // Needed to make it show on first mouseover
|
ready: true // Needed to make it show on first mouseover
|
||||||
// event
|
// event
|
||||||
|
@ -1080,6 +1083,9 @@ function addQtipToSCIcons(){
|
||||||
my: "left top",
|
my: "left top",
|
||||||
viewport: $(window)
|
viewport: $(window)
|
||||||
},
|
},
|
||||||
|
style: {
|
||||||
|
classes: "ui-tooltip-dark file-md-long"
|
||||||
|
},
|
||||||
show: {
|
show: {
|
||||||
ready: true // Needed to make it show on first mouseover
|
ready: true // Needed to make it show on first mouseover
|
||||||
// event
|
// event
|
||||||
|
@ -1109,6 +1115,9 @@ function addQtipToSCIcons(){
|
||||||
my: "left top",
|
my: "left top",
|
||||||
viewport: $(window)
|
viewport: $(window)
|
||||||
},
|
},
|
||||||
|
style: {
|
||||||
|
classes: "ui-tooltip-dark file-md-long"
|
||||||
|
},
|
||||||
show: {
|
show: {
|
||||||
ready: true // Needed to make it show on first mouseover
|
ready: true // Needed to make it show on first mouseover
|
||||||
// event
|
// event
|
||||||
|
|
|
@ -288,7 +288,7 @@ function eventRender(event, element, view) {
|
||||||
function eventAfterRender( event, element, view ) {
|
function eventAfterRender( event, element, view ) {
|
||||||
|
|
||||||
$(element).find(".small-icon").live('mouseover',function(){
|
$(element).find(".small-icon").live('mouseover',function(){
|
||||||
addQtipToSCIcons($(this));
|
addQtipsToIcons($(this));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -406,7 +406,8 @@ function getCurrentShow(){
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function addQtipToSCIcons(ele){
|
|
||||||
|
function addQtipsToIcons(ele){
|
||||||
var id = $(ele).attr("id");
|
var id = $(ele).attr("id");
|
||||||
|
|
||||||
if($(ele).hasClass("progress")){
|
if($(ele).hasClass("progress")){
|
||||||
|
@ -423,6 +424,9 @@ function addQtipToSCIcons(ele){
|
||||||
my: "left top",
|
my: "left top",
|
||||||
viewport: $(window)
|
viewport: $(window)
|
||||||
},
|
},
|
||||||
|
style: {
|
||||||
|
classes: "ui-tooltip-dark file-md-long"
|
||||||
|
},
|
||||||
show: {
|
show: {
|
||||||
ready: true // Needed to make it show on first mouseover event
|
ready: true // Needed to make it show on first mouseover event
|
||||||
}
|
}
|
||||||
|
@ -449,6 +453,9 @@ function addQtipToSCIcons(ele){
|
||||||
my: "left top",
|
my: "left top",
|
||||||
viewport: $(window)
|
viewport: $(window)
|
||||||
},
|
},
|
||||||
|
style: {
|
||||||
|
classes: "ui-tooltip-dark file-md-long"
|
||||||
|
},
|
||||||
show: {
|
show: {
|
||||||
ready: true // Needed to make it show on first mouseover event
|
ready: true // Needed to make it show on first mouseover event
|
||||||
}
|
}
|
||||||
|
@ -476,6 +483,9 @@ function addQtipToSCIcons(ele){
|
||||||
my: "left top",
|
my: "left top",
|
||||||
viewport: $(window)
|
viewport: $(window)
|
||||||
},
|
},
|
||||||
|
style: {
|
||||||
|
classes: "ui-tooltip-dark file-md-long"
|
||||||
|
},
|
||||||
show: {
|
show: {
|
||||||
ready: true // Needed to make it show on first mouseover event
|
ready: true // Needed to make it show on first mouseover event
|
||||||
}
|
}
|
||||||
|
@ -500,7 +510,6 @@ function addQtipToSCIcons(ele){
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Alert the error and reload the page
|
//Alert the error and reload the page
|
||||||
//this function is used to resolve concurrency issue
|
//this function is used to resolve concurrency issue
|
||||||
function alertShowErrorAndReload(){
|
function alertShowErrorAndReload(){
|
||||||
|
|
Loading…
Reference in New Issue