[Pkg-mozext-commits] [personasplus] 56/76: onSelectBackground Fix
David Prévot
taffit at moszumanska.debian.org
Fri Aug 4 21:45:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository personasplus.
commit d21f6a0f98396c4dbcb9739482e17f9bddc29105
Author: Baris Derin <baris at barisderin.com>
Date: Fri Nov 25 14:04:35 2016 +0200
onSelectBackground Fix
This commit fixes the bug while checking the image dimension. Because
code is moved, “this” applies to image rather than CustomPersonaEditor.
---
extension/content/customPersonaEditor.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/extension/content/customPersonaEditor.js b/extension/content/customPersonaEditor.js
index 74e8ec3..3ea865f 100644
--- a/extension/content/customPersonaEditor.js
+++ b/extension/content/customPersonaEditor.js
@@ -234,9 +234,9 @@ var CustomPersonaEditor = {
// A random number is appended to avoid displaying a cached image
// after the image has been modified.
// See: https://bugzilla.mozilla.org/show_bug.cgi?id=543333
- control.value = this.customPersona[property] =
+ control.value = CustomPersonaEditor.customPersona[property] =
fp.fileURL.spec + "?" + Math.floor(Math.random() * 10000);
- this._save();
+ CustomPersonaEditor._save();
}
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/personasplus.git
More information about the Pkg-mozext-commits
mailing list