forked from 0x2620/pandora
now that we have js tracebacks, also open dialog for js errors, fixes #2756
This commit is contained in:
parent
0e4c49729b
commit
d4a7ec0e0c
1 changed files with 27 additions and 29 deletions
|
@ -141,7 +141,6 @@ pandora.ui.errorlogsDialog = function() {
|
|||
open: function(data) {
|
||||
var value = $list.value(Ox.last(data.ids)),
|
||||
$dialog;
|
||||
if (/^Traceback/.test(value.text)) {
|
||||
$dialog = Ox.Dialog({
|
||||
buttons: [
|
||||
Ox.Button({
|
||||
|
@ -170,7 +169,6 @@ pandora.ui.errorlogsDialog = function() {
|
|||
})
|
||||
.open();
|
||||
}
|
||||
}
|
||||
}),
|
||||
|
||||
that = Ox.Dialog({
|
||||
|
|
Loading…
Reference in a new issue