ubuntu-webapps-bugs team mailing list archive
-
ubuntu-webapps-bugs team
-
Mailing list archive
-
Message #00081
[Bug 1059051] Re: Gmail Webapp doesn't work
webapp depends on the box with the user's email, it means that is
strongly interface dependant. It should rely on the 'class' or 'id'
attribute instead of a DOM tree. Everytime google change it's interface,
everything stop to work.
My suggested fix is to change the line #146 to this:
gmaillogin = document.evaluate('//div[@class="gb_Q"]', document, null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.textContent;
and the line #153 to this:
gappslogin = document.evaluate('//span[@id="gbgs4dn"]', document, null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue.textContent;
Tested here, it fix for both personal account and google apps. Don't
know if this ID and Class will change, but is more reliable than the
tree.
--
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to unity-webapps-gmail in
Ubuntu.
https://bugs.launchpad.net/bugs/1059051
Title:
Gmail Webapp doesn't work
Status in Common Data Shared by WebApps:
New
Status in “unity-webapps-gmail” package in Ubuntu:
Fix Released
Bug description:
The Gmail Unity WebApp doesn't work with either Firefox 15 or Chromium
20. In Chromium I get no browser request to integrate Gmail with Unity
while in Firefox, I do get the request but I don't get any desktop
notifications or messaging menu integration.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: unity-webapps-gmail 2.2
ProcVersionSignature: Ubuntu 3.5.0-16.25-generic 3.5.4
Uname: Linux 3.5.0-16-generic x86_64
ApportVersion: 2.5.3-0ubuntu1
Architecture: amd64
Date: Sun Sep 30 16:22:28 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120914)
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: unity-webapps-gmail
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-applications/+bug/1059051/+subscriptions