fix log ack

git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@2088 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2014-12-18 22:33:50 +00:00
parent 3f52c3063a
commit d962ada7e5
3 changed files with 8 additions and 3 deletions

View File

@ -1,10 +1,10 @@
Package: webif
Priority: optional
Section: web
Version: 1.0.18-1
Version: 1.0.18-2
Architecture: mipsel
Maintainer: af123@hummypkg.org.uk
Depends: webif-channelicons(>=1.1.14),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(>=2.1),busybox(>=1.20.2-1),lsof(>=4.87),epg(>=1.0.14),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),tcpping(>=1.1),mongoose
Suggests:
Description: An evolving web interface for the Humax.
Tags: http://hummy.tv/forum/threads/5031/
Tags: http://hummy.tv/forum/threads/5866/

View File

@ -18,6 +18,11 @@ switch $action {
puts "Cleared $file"
exit
}
unlink {
file delete $file
puts "Removed $file"
exit
}
}
puts "Unknown action."

View File

@ -23,7 +23,7 @@ puts {
<script type=text/javascript>
$('#sysnotify_ack').button().on('click', function() {
$('#sysnotify').slideUp('slow');
$.get('/diag/clearlog.jim?file=/mod/tmp/notify.log&unlink=1');
$.get('/log/act.jim?file=/mod/tmp/notify.log&action=unlink');
});
</script>
}