diff --git a/wrap/python/ajax/ltl2tgba.html b/wrap/python/ajax/ltl2tgba.html
index 69b510ce3..1ead853d3 100644
--- a/wrap/python/ajax/ltl2tgba.html
+++ b/wrap/python/ajax/ltl2tgba.html
@@ -70,23 +70,48 @@
$("#ltl3ba-U").attr('checked', true);
}
})
+ $("#to-s").change(function() {
+ if ($(this).is(':checked')) {
+ $("#to-l").removeAttr('checked');
+ }
+ })
+ $("#to-l").change(function() {
+ if ($(this).is(':checked')) {
+ $("#to-s").removeAttr('checked');
+ }
+ })
+ $("#tf-t,#tf-g").change(function() {
+ if ($(this).is(':checked')) {
+ $("#to-l,#to-s").removeAttr('disabled');
+ }
+ })
+ $("#tf-a").change(function() {
+ if ($(this).is(':checked')) {
+ $("#to-l,#to-s").attr('disabled', true);
+ }
+ })
function hideOrShowPanels(output, duration) {
switch (output)
{
case 'f':
- $('#translator-tabs,#autsimp-tabs,#run-tabs').hide(duration);
+ $('#translator-tabs,#autsimp-tabs,#run-tabs,#tester-tabs').hide(duration);
break;
case 'm':
$('#autsimp-tabs,#run-tabs').hide(duration);
- $('#translator-tabs').show(duration);
+ $('#translator-tabs,#tester-tabs').show(duration);
break;
case 'a':
$('#translator-tabs,#autsimp-tabs').show(duration);
+ $('#run-tabs,#tester-tabs').hide(duration);
+ break;
+ case 't':
+ $('#translator-tabs,#autsimp-tabs,#tester-tabs').show(duration);
$('#run-tabs').hide(duration);
break;
case 'r':
$('#translator-tabs,#autsimp-tabs,#run-tabs').show(duration);
+ $('#tester-tabs').hide(duration);
break;
}
}
@@ -125,7 +150,7 @@
this.value=value.join(',');
}
});
- $("#brcheckbox").change();
+ $("#brcheckbox,#tf-a").change();
$.spotvars.autoupdate = true;
$.spotvars.internalchange = false;
var o = $('input[name="o"]').val();
@@ -506,17 +531,17 @@ an identifier: aUb is an atomic proposition, unlike