From 76c9b2d54604b0a15d5f1bd0ed6abc84bef37f18 Mon Sep 17 00:00:00 2001 From: oblikoamorale Date: Wed, 13 Jan 2016 23:02:51 +0300 Subject: [PATCH] ajquery: fixed broken remove playlist, 0.73 released --- ajquery/js/ajquery.js | 5 +---- ajquery/readme.txt | 6 +++++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ajquery/js/ajquery.js b/ajquery/js/ajquery.js index 94b973c..0c95f8d 100755 --- a/ajquery/js/ajquery.js +++ b/ajquery/js/ajquery.js @@ -1037,13 +1037,10 @@ function updatetabs() if (tc > fp) for(var i = 0; i < tc - fp; ++i) { - var tab = $( "#tabs" ).find( ".ui-tabs-nav li:eq("+(i+1)+")" ).remove(); - var panelId = tab.attr( "aria-controls" ); - $( "#" + panelId ).remove(); + $( "#tabs" ).find( ".ui-tabs-nav li:eq("+(i+1)+")" ).remove(); $( "#tabs" ).tabs('refresh'); } - for (var i = 0; i < fp; ++i) if (fb.playlistPlaying == i) { diff --git a/ajquery/readme.txt b/ajquery/readme.txt index 6c2a59f..072857d 100755 --- a/ajquery/readme.txt +++ b/ajquery/readme.txt @@ -1,5 +1,5 @@ Asynchronious foo_httpcontrol template -0.72 http://code.google.com/p/foo-httpcontrol/ +0.73 http://code.google.com/p/foo-httpcontrol/ *** Requirements @@ -48,6 +48,10 @@ Asynchronious foo_httpcontrol template file. For example, playlist_items_per_page variable is useful when you want to permanently modify playlist page size. +*** Release history 2015 + 31 Dec 0.73 + fix: broken remove playlist; + *** Release history 2014 26 Jul 0.72