From 3911662cffd81371fa5e155d51b3dad0e2bcfc49 Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Thu, 30 Aug 2012 16:30:49 -0400 Subject: [PATCH] Remove unused function --- .../views/scripts/user/add-user.phtml | 1 + .../js/airtime/dashboard/helperfunctions.js | 30 ------------------- 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/airtime_mvc/application/views/scripts/user/add-user.phtml b/airtime_mvc/application/views/scripts/user/add-user.phtml index c689a2262..023da880e 100644 --- a/airtime_mvc/application/views/scripts/user/add-user.phtml +++ b/airtime_mvc/application/views/scripts/user/add-user.phtml @@ -1,4 +1,5 @@
+

Manage Users

diff --git a/airtime_mvc/public/js/airtime/dashboard/helperfunctions.js b/airtime_mvc/public/js/airtime/dashboard/helperfunctions.js index 818aef04d..87a50796f 100644 --- a/airtime_mvc/public/js/airtime/dashboard/helperfunctions.js +++ b/airtime_mvc/public/js/airtime/dashboard/helperfunctions.js @@ -179,36 +179,6 @@ function getFileExt(filename){ return filename.split('.').pop(); } -function audioStream(){ - - if ($("#jquery_jplayer_1").data("jPlayer") && $("#jquery_jplayer_1").data("jPlayer").status.paused != true){ - $('#jquery_jplayer_1').jPlayer('clearMedia'); - $('#jquery_jplayer_1').jPlayer('destroy'); - return; - } - - var uri = "http://localhost:8000/airtime_128.ogg"; - var ext = getFileExt(uri); - - var media; - var supplied; - if (ext == "ogg"){ - media = {oga:uri}; - supplied = "oga"; - } else { - media = {mp3:uri}; - supplied = "mp3"; - } - - $("#jquery_jplayer_1").jPlayer({ - ready: function () { - $(this).jPlayer("setMedia", media).jPlayer("play"); - }, - swfPath: "/js/jplayer", - supplied: supplied - }); -} - function resizeImg(ele, targetWidth, targetHeight){ var img = $(ele);