checkbox fixes, glob removal

git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1825 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2014-03-24 21:07:32 +00:00
parent 972eab191c
commit 2bf876262f
8 changed files with 24 additions and 24 deletions

View File

@ -1,10 +1,10 @@
Package: webif
Priority: optional
Section: web
Version: 1.0.10-1
Version: 1.0.10-2
Architecture: mipsel
Maintainer: af123@hummypkg.org.uk
Depends: webif-channelicons(>=1.1.9),mongoose(>=3.0.11),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,epg(>=1.0.13),hmt(>=1.1.14),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.05),ffmpeg,id3v2,multienv(>=1.6)
Depends: webif-channelicons(>=1.1.10),mongoose(>=3.0.11),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,epg(>=1.0.13),hmt(>=1.1.14),ssmtp,anacron,trm(>=1.1),openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.2.5-3),smartmontools,tmenu(>=1.05),ffmpeg,id3v2,multienv(>=1.6)
Suggests:
Description: An evolving web interface for the Humax.
Tags: http://hummy.tv/forum/threads/4723/

View File

@ -44,7 +44,7 @@ $(document).ready(function () {
$('.setting_toggle').change(function() {
var arg = '0';
var urlargs;
if ($(this).attr('checked'))
if ($(this).prop('checked'))
arg = '1';
if ($(this).attr('invert'))

View File

@ -34,10 +34,11 @@ if {[file exists "$origdir/$shname.ts"]} {
}
puts "Moving recording to $origdir"
foreach f [glob -nocomplain "${base}.*"] {
set tail [file tail $f]
puts " $tail"
file rename $f "$origdir/$tail"
set tail [file tail $base]
foreach ext $tsgroup {
puts " $tail.$ext"
file rename "$base.$ext" "${origdir}/$tail.$ext"
}
puts [exec /mod/bin/nicesplice \

View File

@ -42,11 +42,10 @@ exec wget -O "$rfile.decrypting" $url
puts "Moving recording to $origdir"
foreach f [glob -nocomplain "${base}.*"] {
if {[file extension $f] eq ".decrypting"} { continue }
set tail [file tail $f]
puts " $tail"
file rename $f "${origdir}/$tail"
set tail [file tail $base]
foreach ext $tsgroup {
puts " $tail.$ext"
file rename "$base.$ext" "${origdir}/$tail.$ext"
}
file rename "$rfile.decrypting" $rfile

View File

@ -833,7 +833,7 @@ var dmenuclick = function(action, el, pos)
reloadclipboard();
// Uncheck everything
$('input.fs:checked').attr('checked', false);
$('input.fs:checked').prop('checked', false);
// Buttons
@ -861,11 +861,11 @@ var dmenuclick = function(action, el, pos)
$('#selectall').click(function(e) {
e.preventDefault();
$('input.fs').attr('checked', true).trigger('change');
$('input.fs').prop('checked', true).trigger('change');
});
$('#deselectall').click(function(e) {
e.preventDefault();
$('input.fs:checked').attr('checked', false).trigger('change');
$('input.fs:checked').prop('checked', false).trigger('change');
});
$('#join').button().disable()
@ -936,7 +936,7 @@ var dmenuclick = function(action, el, pos)
'path': files
}, function() {
reloadclipboard();
$('input.fs:checked').attr('checked', false);
$('input.fs:checked').prop('checked', false);
});
});

View File

@ -28,10 +28,10 @@ if {[file exists "$origdir/$shname.ts"]} {
}
puts "Moving recording to $origdir"
foreach f [glob -nocomplain "${base}.*"] {
set tail [file tail $f]
puts " $tail"
file rename $f "$origdir/$tail"
set tail [file tail $base]
foreach ext $tsgroup {
puts " $tail.$ext"
file rename "$base.$ext" "${origdir}/$tail.$ext"
}
puts [exec /mod/bin/stripts \

View File

@ -7,7 +7,7 @@ $('#synopsis').iphoneStyle({
checkedLabel: 'YES',
uncheckedLabel: 'NO'
}).bind('change', function() {
if ($(this).attr('checked'))
if ($(this).prop('checked'))
$('.synopsis').show();
else
$('.synopsis').hide();

View File

@ -116,10 +116,10 @@ $.extend($[iphoneStyle].prototype, {
var p = (x - $[iphoneStyle].dragStartPosition) / obj.rightSide;
checked = (p < 0) ? Math.abs(p) < 0.5 : p >= 0.5;
} else {
checked = !obj.$elem.attr('checked');
checked = !obj.$elem.prop('checked');
}
obj.$elem.attr('checked', checked);
obj.$elem.prop('checked', checked);
$[iphoneStyle].currentlyClicking = null;
$[iphoneStyle].dragging = null;
@ -135,7 +135,7 @@ $.extend($[iphoneStyle].prototype, {
obj.container.removeClass(obj.disabledClass);
}
var new_left = obj.$elem.attr('checked') ? obj.rightSide : 0;
var new_left = obj.$elem.prop('checked') ? obj.rightSide : 0;
obj.handle.animate({ left: new_left }, obj.duration);
obj.onLabel.animate({ width: new_left + 4 }, obj.duration);