[Pkg-mozext-commits] [itsalltext] 439/459: Fix for #55
David Prévot
taffit at moszumanska.debian.org
Tue Feb 24 23:26:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository itsalltext.
commit 3ba366b5f5696b02c59659c70a77183ba7753f68
Author: xOneca <xoneca at gmail.com>
Date: Fri Jan 10 17:12:17 2014 +0100
Fix for #55
Fixes the error
```
Error: Permission denied to access property 'type'
```
discussed in issue #55
---
src/chrome/content/cacheobj.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/chrome/content/cacheobj.js b/src/chrome/content/cacheobj.js
index 63530dd..23a23dd 100644
--- a/src/chrome/content/cacheobj.js
+++ b/src/chrome/content/cacheobj.js
@@ -579,7 +579,7 @@ CacheObj.prototype.update = function () {
this.fade(20, 100);
this.node.value = value;
- var event = document.createEvent("HTMLEvents");
+ var event = this.node.ownerDocument.createEvent("HTMLEvents");
event.initEvent('change', true, false);
this.node.dispatchEvent(event);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git
More information about the Pkg-mozext-commits
mailing list