From 59006ff474727347a752e4e05f3e5850ec6c6ac2 Mon Sep 17 00:00:00 2001 From: hummypkg Date: Wed, 25 Jun 2014 19:51:30 +0000 Subject: [PATCH] ladd git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1986 2a923420-c742-0410-a762-8d5b09965624 --- CONTROL/control | 2 +- webif/html/pkg/script.js | 3 +-- webif/lib/utils | 6 ++++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CONTROL/control b/CONTROL/control index 9f948b5..7f03793 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,7 +1,7 @@ Package: webif Priority: optional Section: web -Version: 1.0.15-4 +Version: 1.0.15-5 Architecture: mipsel Maintainer: af123@hummypkg.org.uk Depends: webif-channelicons(>=1.1.11),lighttpd(>=1.4.35-2),jim(>=0.75-1),jim-oo,jim-sqlite3(>=0.75),jim-cgi(>=0.7),jim-binary(>=0.75),service-control(>=1.2),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.0.13),hmt(>=1.1.21),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2-1),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.08),ffmpeg,id3v2,multienv(>=1.6),mongoose diff --git a/webif/html/pkg/script.js b/webif/html/pkg/script.js index c9a6287..2c9101c 100644 --- a/webif/html/pkg/script.js +++ b/webif/html/pkg/script.js @@ -88,8 +88,6 @@ $(document).ready(function() { } }); - jQuery.ajaxSetup({progressInterval: 1}); - function loaddata(data, status) { if (window.console) @@ -130,6 +128,7 @@ $(document).ready(function() { type: "GET", url: opkg + arg, progress: loaddata, + progressInterval: 500, success: function(data, status) { loaddata(data, status); }, diff --git a/webif/lib/utils b/webif/lib/utils index 1ca1a00..d9b7726 100644 --- a/webif/lib/utils +++ b/webif/lib/utils @@ -1,7 +1,9 @@ -proc ladd {var val} { +proc ladd {var args} { upvar $var v - if {$val ni $v} { lappend v $val } + foreach val $args { + if {$val ni $v} { lappend v $val } + } } proc lremove {var val} {