now that we have js tracebacks, also open dialog for js errors, fixes #2756

This commit is contained in:
j 2015-05-20 11:47:04 +01:00
parent 0e4c49729b
commit d4a7ec0e0c

View file

@ -141,7 +141,6 @@ pandora.ui.errorlogsDialog = function() {
open: function(data) { open: function(data) {
var value = $list.value(Ox.last(data.ids)), var value = $list.value(Ox.last(data.ids)),
$dialog; $dialog;
if (/^Traceback/.test(value.text)) {
$dialog = Ox.Dialog({ $dialog = Ox.Dialog({
buttons: [ buttons: [
Ox.Button({ Ox.Button({
@ -170,7 +169,6 @@ pandora.ui.errorlogsDialog = function() {
}) })
.open(); .open();
} }
}
}), }),
that = Ox.Dialog({ that = Ox.Dialog({