From cffad91840894898c483f1355bd5831b6bd718c7 Mon Sep 17 00:00:00 2001 From: denise Date: Mon, 7 Jan 2013 15:23:51 -0500 Subject: [PATCH] CC-4800: Soundcloud icon qtips do not work and have wrong colour scheme -fixed --- airtime_mvc/public/js/airtime/library/library.js | 9 +++++++++ .../airtime/schedule/full-calendar-functions.js | 15 ++++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/airtime_mvc/public/js/airtime/library/library.js b/airtime_mvc/public/js/airtime/library/library.js index 1686e0582..f154c579a 100644 --- a/airtime_mvc/public/js/airtime/library/library.js +++ b/airtime_mvc/public/js/airtime/library/library.js @@ -1051,6 +1051,9 @@ function addQtipToSCIcons(){ my: "left top", viewport: $(window) }, + style: { + classes: "ui-tooltip-dark file-md-long" + }, show: { ready: true // Needed to make it show on first mouseover // event @@ -1080,6 +1083,9 @@ function addQtipToSCIcons(){ my: "left top", viewport: $(window) }, + style: { + classes: "ui-tooltip-dark file-md-long" + }, show: { ready: true // Needed to make it show on first mouseover // event @@ -1109,6 +1115,9 @@ function addQtipToSCIcons(){ my: "left top", viewport: $(window) }, + style: { + classes: "ui-tooltip-dark file-md-long" + }, show: { ready: true // Needed to make it show on first mouseover // event diff --git a/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js b/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js index 98e58324f..a82f18c94 100644 --- a/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js +++ b/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js @@ -288,7 +288,7 @@ function eventRender(event, element, view) { function eventAfterRender( event, element, view ) { $(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"); if($(ele).hasClass("progress")){ @@ -423,6 +424,9 @@ function addQtipToSCIcons(ele){ my: "left top", viewport: $(window) }, + style: { + classes: "ui-tooltip-dark file-md-long" + }, show: { ready: true // Needed to make it show on first mouseover event } @@ -449,6 +453,9 @@ function addQtipToSCIcons(ele){ my: "left top", viewport: $(window) }, + style: { + classes: "ui-tooltip-dark file-md-long" + }, show: { ready: true // Needed to make it show on first mouseover event } @@ -476,6 +483,9 @@ function addQtipToSCIcons(ele){ my: "left top", viewport: $(window) }, + style: { + classes: "ui-tooltip-dark file-md-long" + }, show: { 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 //this function is used to resolve concurrency issue function alertShowErrorAndReload(){