I had the same problem here, regarding the function
checkMessagesCount().

What happens is that the variable "tag" is null when the evaluate()
function doesn't find what it's looking for. Then, the following line
will raise an exception:

if (tag.textContent != 'Gmail' && tag.textContent != 'Mail') {

I changed to:

if (tag != null && tag.textContent != 'Gmail' && tag.textContent !=
'Mail') {

Now the GMail integration is working for me!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1073397

Title:
  unityLoaded never gets called

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-webapps-gmail/+bug/1073397/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to