This commit is contained in:
Nicolas Stepien 2012-02-20 21:36:43 +01:00
parent d4bb307404
commit 97902bbfcc
3 changed files with 8 additions and 4 deletions

View File

@ -1223,7 +1223,7 @@
$.before(form, link);
}
g.callbacks.push(this.node);
if (engine === 'webkit') {
if (/chrome/i.test(navigator.userAgent)) {
qr.status({
ready: true
});
@ -1832,7 +1832,7 @@
reader.readAsBinaryString(reply.file);
return;
}
if (engine === 'webkit') {
if (/chrome/i.test(navigator.userAgent)) {
qr.message.post(post);
return;
}

View File

@ -1,4 +1,6 @@
master
- Mayhem
Fix posting on Safari.
2.26.4
- Mayhem

View File

@ -900,7 +900,8 @@ qr =
$.before form, link
g.callbacks.push @node
if engine is 'webkit'
# CORS is ignored for content script on Chrome, but not Safari/Oprah/Firefox.
if /chrome/i.test navigator.userAgent
qr.status ready: true
else
iframe = $.el 'iframe',
@ -1405,7 +1406,8 @@ qr =
reader.readAsBinaryString reply.file
return
if engine is 'webkit'
# CORS is ignored for content script on Chrome, but not Safari/Oprah/Firefox.
if /chrome/i.test navigator.userAgent
qr.message.post post
return
qr.message.send post