fix jconfirmaction

git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1938 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2014-06-05 21:10:01 +00:00
parent 692488a11f
commit b4bd45566e
3 changed files with 11 additions and 15 deletions

View File

@ -1,7 +1,7 @@
Package: webif Package: webif
Priority: optional Priority: optional
Section: web Section: web
Version: 1.0.14-2 Version: 1.0.14-3
Architecture: mipsel Architecture: mipsel
Maintainer: af123@hummypkg.org.uk 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,epg(>=1.0.13),hmt(>=1.1.19),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 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,epg(>=1.0.13),hmt(>=1.1.19),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

View File

@ -81,7 +81,7 @@ if {$type eq "ts"} {
</font></td> </font></td>
</tr><tr> </tr><tr>
<th>Resumes</th> <th>Resumes</th>
<td>[$ts get resume] seconds into recording. <td>[expr [$ts get resume] / 60] minutes into recording.
[progressbar $([$ts get resume] * 100 / [$ts duration 1])] [progressbar $([$ts get resume] * 100 / [$ts duration 1])]
</td> </td>
</tr><tr> </tr><tr>

View File

@ -18,7 +18,6 @@
var obj = $(this); var obj = $(this);
if (obj.next('.jcaquestion').length <= 0) if (obj.next('.jcaquestion').length <= 0)
{
obj.after('<div class=jcaquestion>' + obj.after('<div class=jcaquestion>' +
options.question + '<br/>' + options.question + '<br/>' +
'<span class=jcayes>' + options.yesAnswer + '<span class=jcayes>' + options.yesAnswer +
@ -26,19 +25,16 @@
'<span class=jcacancel>' + options.cancelAnswer + '<span class=jcacancel>' + options.cancelAnswer +
'</span></div>'); '</span></div>');
o = obj.next('.jcaquestion'); o = obj.next('.jcaquestion');
o.animate({opacity: 1}, 300); o.animate({opacity: 1}, 300);
o.find('.jcayes').on('click', function() { o.find('.jcayes').on('click', function() {
callback(obj); o.animate({opacity: 0}, 300);
}); callback(obj);
o.find('.jcacancel').on('click', function() { });
$(this).parents('.jcaquestion') o.find('.jcacancel').on('click', function() {
.fadeOut(300, function() { o.animate({opacity: 0}, 300);
$(this).remove(); });
});
});
}
} }
jQuery.fn.jConfirmAction = function(options, callback) { jQuery.fn.jConfirmAction = function(options, callback) {