Skip to content

Commit 6140c00

Browse files
authored
Merge pull request #12 from grcrt/bugfix/ff-not-work
fix: firefox not working
2 parents ae3cc3a + e4bf001 commit 6140c00

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

GRCRT.f.errReporter.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,17 @@ function grcrtErrReporter(err){
3535
if(err.silent){
3636
sendErr()
3737
} else {
38-
console.log(_json);
38+
// console.log(_json);
3939
if(typeof Layout == "object" && typeof Layout.showConfirmDialog == "function"){
40-
Layout.showConfirmDialog(
41-
"GRCRTools oops!",
42-
'<div><img src="'+RepConv.grcrt_cdn+'img/octopus.png" style="float:left;padding-right: 10px"/><p style="padding:5px"><b>Found error</b><br/><pre>'+err+'</pre><br/>You want send?</p></div>',
43-
function(){
44-
// console.log(_json)
45-
sendErr()
46-
}
47-
)
40+
console.log(_json);
41+
Layout.showConfirmDialog(
42+
"GRCRTools oops!",
43+
'<div><img src="'+RepConv.grcrt_cdn+'img/octopus.png" style="float:left;padding-right: 10px"/><p style="padding:5px"><b>Found error</b><br/><pre>'+err+'</pre><br/>You want send?</p></div>',
44+
function(){
45+
// console.log(_json)
46+
sendErr()
47+
}
48+
)
4849
} else {
4950
setTimeout(function(){
5051
grcrtErrReporter(err);

0 commit comments

Comments
 (0)